[issue10688] pydoc removes lib directory

2010-12-12 Thread R. David Murray
R. David Murray added the comment: This is a duplicate of issue 2029. -- nosy: +r.david.murray resolution: -> duplicate stage: -> committed/rejected status: open -> closed superseder: -> "python -m pydoc -g" fails ___ Python tracker

[issue10688] pydoc removes lib directory

2010-12-12 Thread CZ
New submission from CZ : 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 " because the lib directory appears tw