[issue17012] Differences between /usr/bin/which and shutil.which()

Barry A. Warsaw report at bugs.python.org
Tue Apr 16 00:48:58 CEST 2013


Barry A. Warsaw added the comment:

>From a documentation standpoint, path='' is not the same as "When no path is specified", so indeed it should return None when path=''.  Serhiy's patch looks good to me.

----------

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


More information about the Python-bugs-list mailing list