Message324245
Example:
$ env -i ./python -c 'import distutils.spawn; print(distutils.spawn.find_executable("true"))'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/vstinner/prog/python/master/Lib/distutils/spawn.py", line 176, in find_executable
path = os.environ['PATH']
File "/home/vstinner/prog/python/master/Lib/os.py", line 672, in __getitem__
raise KeyError(key) from None
KeyError: 'PATH'
Attached PR fixes the issue for the master branch. |
|
Date |
User |
Action |
Args |
2018-08-28 12:47:31 | vstinner | set | recipients:
+ vstinner |
2018-08-28 12:47:31 | vstinner | set | messageid: <1535460451.64.0.56676864532.issue34530@psf.upfronthosting.co.za> |
2018-08-28 12:47:31 | vstinner | link | issue34530 messages |
2018-08-28 12:47:31 | vstinner | create | |
|