This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author CZ
Recipients CZ
Date 2010-12-12.22:38:43
SpamBayes Score 9.48891e-06
Marked as misclassified No
Message-id <1292193525.59.0.524407556664.issue10688@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-12-12 22:38:45CZsetrecipients: + CZ
2010-12-12 22:38:45CZsetmessageid: <1292193525.59.0.524407556664.issue10688@psf.upfronthosting.co.za>
2010-12-12 22:38:43CZlinkissue10688 messages
2010-12-12 22:38:43CZcreate