Author serhiy.storchaka
Recipients brian.curtin, hynek, pitrou, serhiy.storchaka, tarek
Date 2013-01-22.12:14:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
$ PATH= /usr/bin/which python
$ PATH=: /usr/bin/which python
$ PATH=/usr: /usr/bin/which python

>>> shutil.which('python', path='')
>>> shutil.which('python', path=':')
>>> shutil.which('python', path='/usr:')

First, I propose interpret path='' as an empty path, not as a default path (we have None for this). However the interpreting of an empty directory in non-empty PATH can be platform-depending.
Date User Action Args
2013-01-22 12:14:00serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, tarek, brian.curtin, hynek
2013-01-22 12:14:00serhiy.storchakasetmessageid: <>
2013-01-22 12:14:00serhiy.storchakalinkissue17012 messages
2013-01-22 12:14:00serhiy.storchakacreate