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 r.david.murray
Recipients brian.curtin, hynek, pitrou, r.david.murray, serhiy.storchaka, tarek
Date 2013-01-22.15:11:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358867520.19.0.406990796174.issue17012@psf.upfronthosting.co.za>
In-reply-to
Content
What I think it is suppose to do (the user expects it to do) is find the program that would be run if the command were typed at the command prompt.

rdmurray@hey:~>which python
/usr/bin/python
rdmurray@hey:~>export PATH=
rdmurray@hey:~>which python
python not found
rdmurray@hey:~>python
zsh: command not found: python

As Serhiy noted, this result may be platform dependent.  Which is unfortunate.
History
Date User Action Args
2013-01-22 15:12:00r.david.murraysetrecipients: + r.david.murray, pitrou, tarek, brian.curtin, hynek, serhiy.storchaka
2013-01-22 15:12:00r.david.murraysetmessageid: <1358867520.19.0.406990796174.issue17012@psf.upfronthosting.co.za>
2013-01-22 15:12:00r.david.murraylinkissue17012 messages
2013-01-22 15:11:59r.david.murraycreate