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

2010-02-01 Thread R. David Murray
R. David Murray added the comment: Just FYI, it was backported to 2.6 in r76313. -- ___ Python tracker ___ ___ Python-bugs-list mailin

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

2010-01-31 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> duplicate status: open -> closed superseder: -> pydoc doesn't work from the command line ___ Python tracker ___ _

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

2010-01-21 Thread Gabriel Genellina
Gabriel Genellina 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 yoursel

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

2010-01-21 Thread Gib Bogle
Gib Bogle added the comment: Importing tempfile from within python does not produce an error. -- ___ Python tracker ___ ___ Python-bug

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

2010-01-21 Thread Gabriel Genellina
Gabriel Genellina added the comment: On Windows, trying with different Python versions: D:\temp>python24 -m pydoc sys [works as expected] D:\temp>python25 -m pydoc sys No module named tempfile D:\temp>python26 -m pydoc sys No module named tempfile D:\temp>python27 -m pydoc sys [works as expe

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

2010-01-21 Thread Gib Bogle
Gib Bogle added the comment: R. David Murray wrote: > R. David Murray added the comment: > > Under 2.5 this could be due to various weird issues with your python path and > the modules on it. Try running python from a clean directory and specifying > the -E flag and see if the behavior chan

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

2010-01-21 Thread R. David Murray
R. David Murray added the comment: Under 2.5 this could be due to various weird issues with your python path and the modules on it. Try running python from a clean directory and specifying the -E flag and see if the behavior changes, and/or try importing tempfile at the python prompt and see

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

2010-01-21 Thread Brian Curtin
Brian Curtin added the comment: I'm not seeing this on 2.5, 2.6, or trunk. -- components: +Extension Modules nosy: +brian.curtin priority: -> normal stage: -> test needed title: pydoc error -> pydoc error - "No module named tempfile" ___ Python tra

[issue7749] pydoc error

2010-01-21 Thread Gib Bogle
Gib Bogle added the comment: Hi Eric, I'm using Python 2.5.4 on Windows XP. I installed pythonxy, which installed 2.5.4. I also have PyQt4.4 installed. I haven't touched anything in the lib directory, as far as I know. A poster on comp.lang.python finds the command works on one machine, b

[issue7749] pydoc error

2010-01-21 Thread Éric Araujo
Éric Araujo added the comment: Hello I can’t reproduce your bug. Please specify exact Python version, how you installed it, whether you did something unusual with the lib directory, and any other useful information. Kind regards -- nosy: +Merwok

[issue7749] pydoc error

2010-01-21 Thread Gib Bogle
New submission from Gib Bogle : >python -m pydoc sys gives No module named tempfile -- messages: 98111 nosy: gib severity: normal status: open title: pydoc error type: behavior versions: Python 2.5 ___ Python tracker