Vinay Sajip added the comment: > the fact that Python initializes sys.path[0] to contain the directory of the > executing script
Of course, silly me. Sorry. I would prefer to remove the pydoc script altogether. The other alternative would be to rename it to pydoc-script.py and have a pydoc.exe adjacent to it (this is how scripts installed with setuptools or distlib work). However, the simple launcher which would be pydoc.exe is not currently part of Python. I think the best thing would be for me to post on python-dev to see what views people there have about these alternatives. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18224> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com