New submission from Georg Brandl <ge...@python.org>: If you use "python -m pydoc", pydoc will not find standard modules written in Python. This leads to a traceback for example using "python -m pydoc -k sys". Somehow, sys.path gets modified in a strange way, which can be seen from
$ python -i -m pydoc (...) >>> import sys >>> sys.path [... does not include /lib/python2.6 or /Lib ...] ---------- assignee: ncoghlan messages: 85512 nosy: georg.brandl, ncoghlan priority: normal severity: normal status: open title: Strange interaction between -m and pydoc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5699> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com