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

Antony Lee report at bugs.python.org
Tue Jan 28 13:44:56 EST 2020


Antony Lee <anntzer.lee at gmail.com> added the comment:

FWIW, I'm actually fine with not supporting Path objects in os.environ, as long as the behavior is *consistent* with the env kwarg to subprocess.run() -- note that the original title of the thread only pointed out to the inconsistency, and did not strongly request that os.environ support Paths.

----------

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


More information about the Python-bugs-list mailing list