[New-bugs-announce] [issue10688] pydoc removes lib directory
CZ
report at bugs.python.org
Sun Dec 12 23:38:45 CET 2010
New submission from CZ <huangj at qualcomm.com>:
when pydoc is run with "python -m" (e.g., "python -m pydoc map"),
you will receive an error message: No module named tempfile.
The reason is pydoc removes 'C:\Python26\lib' (in my case) from sys.path.
But you can run it as "python <full path to pydoc.py>" because the lib directory appears twice in the sys.path in such situation.
----------
messages: 123853
nosy: CZ
priority: normal
severity: normal
status: open
title: pydoc removes lib directory
type: behavior
versions: Python 2.6
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10688>
_______________________________________
More information about the New-bugs-announce
mailing list