Message333835
This is how the which command behaves:
$ /usr/bin/which python
/usr/bin/python
$ PATH= /usr/bin/which python
$ PATH=. /usr/bin/which python
./python
$ PATH=: /usr/bin/which python
./python
I think shutil.which() should behave similarly unless there are good reasons for difference. |
|
| Date |
User |
Action |
Args |
| 2019-01-17 09:35:27 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gregory.p.smith, vstinner, giampaolo.rodola, christian.heimes, izbyshev |
| 2019-01-17 09:35:25 | serhiy.storchaka | set | messageid: <1547717725.44.0.803166080242.issue35755@roundup.psfhosted.org> |
| 2019-01-17 09:35:25 | serhiy.storchaka | link | issue35755 messages |
| 2019-01-17 09:35:25 | serhiy.storchaka | create | |
|