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

Nick Coghlan report at bugs.python.org
Mon Jul 16 16:22:20 CEST 2012

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

At the very least, the pkgutil docs need to state clearly that walk_packages only works properly with sys.path entries, and the constraint feature may not descend into packages correctly if an entry is shadowed by a sys.modules entry or an entry earlier on sys.meta_path or sys.path.

assignee:  -> docs at python
components: +Documentation
nosy: +docs at python

Python tracker <report at bugs.python.org>

More information about the docs mailing list