➜

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.

作者 takluyver
收信人 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, tleeuwenburg@gmail.com, tmick, vstinner, weeble, wrstlprmpft
日期 2013-01-13.19:46:59
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1358106419.46.0.137279156902.issue444582@psf.upfronthosting.co.za>
In-reply-to
内容
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('setup.py') can return 'setup.py', even though running 'setup.py' in a shell doesn't work (you need ./setup.py).

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.
历史
日期 用户 动作 参数
2013-01-13 19:46:59takluyver修改recipients: + 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, tleeuwenburg@gmail.com, michael.foord, brian.curtin, meatballhat, petere, sandro.tosi, iki, Iztok.Kavkler, python-dev, Omega_Weapon
2013-01-13 19:46:59takluyver修改messageid: <1358106419.46.0.137279156902.issue444582@psf.upfronthosting.co.za>
2013-01-13 19:46:59takluyver链接issue444582 messages
2013-01-13 19:46:59takluyver创建