This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vinay.sajip
Recipients peter@psantoro.net, vinay.sajip
Date 2013-06-17.16:03:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371485014.07.0.806996579055.issue18224@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2013-06-17 16:03:34vinay.sajipsetrecipients: + vinay.sajip, peter@psantoro.net
2013-06-17 16:03:34vinay.sajipsetmessageid: <1371485014.07.0.806996579055.issue18224@psf.upfronthosting.co.za>
2013-06-17 16:03:34vinay.sajiplinkissue18224 messages
2013-06-17 16:03:33vinay.sajipcreate