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

Martijn Faassen report at bugs.python.org
Mon Dec 2 16:58:02 CET 2013

Martijn Faassen added the comment:

I just ran into this bug myself with namespace packages (in Python 2.7). When you have multiple packages (ns.a, ns.b) under a namespace package (ns), and constrain the paths in walk_packages so it should only pick up ns.a, it will pick up ns.b as well.

Any hope for a fix or workaround?

nosy: +faassen

Python tracker <report at bugs.python.org>

More information about the docs mailing list