[issue7367] pkgutil.walk_packages fails on write-only directory in sys.path

Ned Deily report at bugs.python.org
Fri Oct 7 00:00:32 CEST 2011


Ned Deily <nad at acm.org> added the comment:

The applied changesets correct pkgutil's walk_packages for "classic" imports to ignore unreadable directories the same way that the interpreter's import does.  With this fix to pkgutil, pydoc -k also no longer fails in this case.  Applied in 2.7 (for 2.7.3), 3.2 (for 3.2.3), and default (for 3.3.0).

----------
resolution:  -> fixed
status: open -> closed

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


More information about the Python-bugs-list mailing list