[issue13880] pydoc -k throws "AssertionError: distutils has already been patched by <class py2exe.Distribution at 0x0000000005987408>"

Antoine Pitrou report at bugs.python.org
Fri Jan 27 11:24:37 CET 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

For the record, the proposed solution in that e-mail is the following:

"B) Patch the run() method of pydoc module at line 1862:

for importer, modname, ispkg in 
	pkgutil.walk_packages(onerror=lambda s:None):"

----------
components: +Library (Lib)
nosy: +pitrou
type: crash -> behavior
versions: +Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list