[issue16957] shutil.which() shouldn't look in working directory on unix-y systems

Serhiy Storchaka report at bugs.python.org
Fri Jan 18 08:37:50 CET 2013


Serhiy Storchaka added the comment:

I think it should be

    if os.path.dirname(cmd) and _access_check(cmd, mode):

----------
nosy: +hynek, serhiy.storchaka, tarek

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16957>
_______________________________________


More information about the Python-bugs-list mailing list