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 arigo
Recipients Arfrever, arigo, asvetlov, cvrebert, eric.snow, kachayev, pitrou, python-dev, r.david.murray, serhiy.storchaka, tvaughan
Date 2013-04-12.18:55:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1365792927.22.0.165386581644.issue16309@psf.upfronthosting.co.za>
In-reply-to
Content
Uh, confusion.  Indeed, "PATH= foo" finds foo in the current directory on bash.  I'm not sure how I ran the original example.  It seems that a default PATH is used, which includes at least "/bin" and ".".

The point I was making in the original post is still valid: "PATH= foo" appears to behave identically to "unset PATH && foo" in all cases I tried so far.  For example, for me both work with some local executable or with "ls" (which is in /bin), and neither works with "which" (which is in /usr/bin).
History
Date User Action Args
2013-04-12 18:55:27arigosetrecipients: + arigo, pitrou, Arfrever, r.david.murray, cvrebert, asvetlov, python-dev, eric.snow, serhiy.storchaka, kachayev, tvaughan
2013-04-12 18:55:27arigosetmessageid: <1365792927.22.0.165386581644.issue16309@psf.upfronthosting.co.za>
2013-04-12 18:55:27arigolinkissue16309 messages
2013-04-12 18:55:26arigocreate