[issue25533] Make pkgutil.iter_modules() yield built-in modules

Brett Cannon report at bugs.python.org
Thu Nov 19 13:13:43 EST 2015


Brett Cannon added the comment:

I say let it go and make sure the docs clearly document that only modules found off of sys.path are supported. Otherwise I would look at why walk_packages() and pydoc feel the need to import every module and if import simply needs to be tweaked to support this use case better (if at all).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25533>
_______________________________________


More information about the Python-bugs-list mailing list