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 takluyver
Recipients eric.araujo, hynek, serhiy.storchaka, takluyver, tarek
Date 2013-01-18.22:31:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358548282.41.0.0955768046776.issue16957@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, as far as I know, ./script works in the same way as dir/script - from the current directory, but not from $PATH.

The first test added is for the case I reported - which('script') shouldn't look in the current directory on Unix. The second test would have failed without Serhiy's correction.

Serhiy, I agree that the comment wasn't quite right. I've uploaded a new version of the patch with a modified comment.
History
Date User Action Args
2013-01-18 22:31:22takluyversetrecipients: + takluyver, tarek, eric.araujo, hynek, serhiy.storchaka
2013-01-18 22:31:22takluyversetmessageid: <1358548282.41.0.0955768046776.issue16957@psf.upfronthosting.co.za>
2013-01-18 22:31:22takluyverlinkissue16957 messages
2013-01-18 22:31:22takluyvercreate