[issue26414] os.defpath too permissive
Martin Panter
report at bugs.python.org
Tue Feb 23 04:50:38 EST 2016
Martin Panter added the comment:
Digging through the history, it has been this way since at least revision d5b67d2ec7ee (1994).
Removing the colon is definitely a good idea. Maybe this might be a more proper way to get the default PATH:
>>> os.confstr("CS_PATH")
'/bin:/usr/bin'
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26414>
_______________________________________
More information about the Python-bugs-list
mailing list