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

Ethan Furman report at bugs.python.org
Mon Jan 27 12:36:34 EST 2020


Ethan Furman <ethan at stoneleaf.us> added the comment:

True, but this example of implicit conversion is only for Path objects which are currently implicitly converted throughout the stdlib where appropriate, and this looks like one of those appropriate places.

I don't know enough about os.environb to offer an opinion on auto-conversion there.

----------

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


More information about the Python-bugs-list mailing list