[issue2029] "python -m pydoc -g" fails

Nick Coghlan report at bugs.python.org
Wed Nov 18 11:35:49 CET 2009


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

It turns out this problem was breaking pydoc -m completely in Python 3.x
(os.popen was breaking since it couldn't find the subprocess module -
see #7238).

A more robust fix that retains the three lines, but modifies them to
avoid deleting the standard library directory from sys.path when using
'-m' has been applied to the 2.6 and 3.1 maintenance branches as well as
the main development branches for 2.7 and 3.2.

----------
resolution:  -> duplicate
status: open -> closed

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


More information about the Python-bugs-list mailing list