[issue5699] Strange interaction between -m and pydoc

2009-04-05 Thread Georg Brandl
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

[issue5699] Strange interaction between -m and pydoc

2009-04-05 Thread Georg Brandl
Changes by Georg Brandl ge...@python.org: -- components: +Library (Lib) versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5699 ___

[issue5699] Strange interaction between -m and pydoc

2009-04-05 Thread Nick Coghlan
Nick Coghlan ncogh...@gmail.com added the comment: Duplicate of issue 2029 - it's apparently a bug in pydoc's sys.path manipulation, but I haven't got around to reviewing Guilherme's patch yet. -- resolution: - duplicate status: open - closed ___