Message180378
I'm not sure reproducing the quirks of /usr/bin/which is a good idea. shutil.which() is meant to be useful and easy to understand, not to be 100% bash-compatible.
And, anyway, what would be the point of passing an empty path, if the return value is guaranteed to be None? |
|
Date |
User |
Action |
Args |
2013-01-22 12:18:10 | pitrou | set | recipients:
+ pitrou, tarek, brian.curtin, hynek, serhiy.storchaka |
2013-01-22 12:18:10 | pitrou | set | messageid: <1358857090.84.0.278814355024.issue17012@psf.upfronthosting.co.za> |
2013-01-22 12:18:10 | pitrou | link | issue17012 messages |
2013-01-22 12:18:10 | pitrou | create | |
|