You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently fusil-python-threaded module finding is a hack in ListAllModules.search_modules, depending on a patched pkgutil.py and not allowing filtering of files. We should:
Revert to pkgutil.iter_modules and avoid needing a patched pkgutil.py.
Revert to matchModule to filter modules, fixing it if necessary.
Make sure search_modules returns the same modules as pkgutil.walk_modules would.
Make sure --only-c, site-packages and the blacklists work correctly.
Currently
fusil-python-threadedmodule finding is a hack inListAllModules.search_modules, depending on a patchedpkgutil.pyand not allowing filtering of files. We should:pkgutil.iter_modulesand avoid needing a patchedpkgutil.py.matchModuleto filter modules, fixing it if necessary.search_modulesreturns the same modules aspkgutil.walk_moduleswould.--only-c,site-packagesand the blacklists work correctly.