[issue7749] pydoc error - "No module named tempfile"

Gabriel Genellina report at bugs.python.org
Fri Jan 22 05:37:45 CET 2010


Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:

This happens to be a duplicate of issue #7328 -- pydoc used to remove the Python standard library from sys.path (!) when run with -m

Fixed in r76312 (2.7). I think the fix should be backported to 2.6

@gib: you may patch your Python 2.5 installation yourself, it's very simple, you'll have to add a single line and reindent a block, that's all. See r76312

----------

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


More information about the Python-bugs-list mailing list