Gabriel Genellina <gagsl-...@yahoo.com.ar> 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 expected] If tempfile.py is in the current directory, it works: D:\temp>cd \apps\python26\lib D:\apps\Python26\Lib>dir /b tempfile.py tempfile.py D:\apps\Python26\Lib>python26 -m pydoc sys Help on built-in module sys: ... Directly executing pydoc.py works fine too: D:\temp>d:\apps\Python26\lib\pydoc.py sys Help on built-in module sys: ... so this may be a runpy issue, not directly related to pydoc. ---------- nosy: +gagenellina _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7749> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com