def METHOD_NAME(modules, **kwargs):
    """ Calls cythonize, filtering useless warnings """
    bin_dir, bin_modules = kwargs['build_dir'], []
    src_dir, src_modules = Path.cwd(), []
    for module in modules:
        if Path(bin_dir) in module.parents:
            bin_modules.append(str(module.relative_to(bin_dir)))
        else:
            src_modules.append(str(module.relative_to(src_dir)))
    with CythonFilter() as cython_filter:
        with redirect_stdout(cython_filter):
            if src_modules:
                cythonize(src_modules, **kwargs)
            if bin_modules:
                os.chdir(bin_dir)
                cythonize(bin_modules, **kwargs)
                os.chdir(src_dir)