[docs] [issue14787] pkgutil.walk_packages returns extra modules

Nick Coghlan report at bugs.python.org
Mon Jul 16 16:35:18 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

I just realised this is going to behave strangely with namespace packages as well: the __import__ step will pick up *every* portion of the namespace package, not just those defined in the identified subset of sys.path.

----------

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


More information about the docs mailing list