[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)
Serhiy Storchaka
report at bugs.python.org
Mon Jan 27 16:02:45 EST 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Path-like objects are now unintentionally accepted for many non-path things, like hostname in socket.sethostname() and username in os.initgroups(). I also think it was a mistake, and we should not make new mistakes.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39461>
_______________________________________
More information about the Python-bugs-list
mailing list