New submission from CZ <hua...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue10688> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com