[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2017-03-10 Thread Mark Lawrence
Changes by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2017-03-09 Thread Wolfgang Maier
Changes by Wolfgang Maier : -- nosy: +wolma ___ Python tracker ___

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2014-06-19 Thread Mark Lawrence
Mark Lawrence added the comment: Could somebody review the attached patch please. -- nosy: +BreamoreBoy ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17062 ___

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2013-04-18 Thread Martin Morrison
Martin Morrison added the comment: I threw together a function that implements this. The only variation from the proposed signature was adding the onerror argument supported by the other similar functions in the module. -- keywords: +patch nosy: +isoschiz Added file:

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2013-01-28 Thread Nick Coghlan
New submission from Nick Coghlan: I recently had occasion to use pkgutil.walk_packages, and my immediate thought was that it would have been a lot easier for me to use if it worked more like os.walk with topdown=True, producing tuples of (pkg, subpackages, modules) pkg would be the package

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2013-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Oops, forgot the proposed call signature: def walk_path(path=None, *, pkg=None): Walk a package hierarchy, starting with the given path Iterator producing (package, subpackages, submodules) triples. The first entry is the package

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2013-01-28 Thread Nick Coghlan
Nick Coghlan added the comment: Regarding the PEP comment - the piece that would be missing is the iter_modules functionality. Currently pkgutil provides the support for standard filesystem imports and zipimports directly - the generic function based extension mechanism is undocumented.

[issue17062] An os.walk inspired replacement for pkgutil.walk_packages

2013-01-28 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- type: - enhancement ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17062 ___ ___