[issue39461] [RFE] os.environ should support Path-like values, like subprocess(..., env=...)

STINNER Victor report at bugs.python.org
Mon Jan 27 11:04:06 EST 2020


STINNER Victor <vstinner at python.org> added the comment:

Currently, os.environ behaves as a dictionary. When you put value into os.environ[key], os.environ[key] gives you back this value. If we start to convert value to a different type (convert something to str), it can be surprising.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39461>
_______________________________________


More information about the Python-bugs-list mailing list