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 Christophe Simonis, Iztok.Kavkler, Omega_Weapon, ajaksu2, andybuckley, belopolsky, brian.curtin, christian.heimes, edemaine, eric.araujo, georg.brandl, giampaolo.rodola, iki, loewis, meatballhat, michael.foord, petere, pitrou, python-dev, r.david.murray, sandro.tosi, schmir, sfllaw, takluyver, tarek,, tmick, vstinner, weeble, wrstlprmpft
Date 2013-01-13.19:46:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The 'short circuit' appears to do what I'd consider the wrong thing when an executable file of the same name exists in the working directory. i.e. which('') can return '', even though running '' in a shell doesn't work (you need ./

This is on UNIX-y systems, I see from the comments that the cwd is implicitly on the path in Windows.

Is this in scope for which() to deal with? Should I open a bug for it? Apologies if it's been discussed already.
Date User Action Args
2013-01-13 19:46:59takluyversetrecipients: + takluyver, loewis, tmick, georg.brandl, edemaine, belopolsky, pitrou, vstinner, wrstlprmpft, giampaolo.rodola, christian.heimes, ajaksu2, sfllaw, schmir, tarek, eric.araujo, Christophe Simonis, andybuckley, weeble, r.david.murray,, michael.foord, brian.curtin, meatballhat, petere, sandro.tosi, iki, Iztok.Kavkler, python-dev, Omega_Weapon
2013-01-13 19:46:59takluyversetmessageid: <>
2013-01-13 19:46:59takluyverlinkissue444582 messages
2013-01-13 19:46:59takluyvercreate