Nick Coghlan <ncogh...@gmail.com> added the comment: pydoc removes the "scriptdir" from sys.path. When run under -m, that means it removes the standard library directory!
It works in 2.x because os.popen doesn't rely on subprocess there - instead it comes direct from the builtin posix module. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7328> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com