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

Brett Cannon report at bugs.python.org
Mon Jan 27 15:12:23 EST 2020


Brett Cannon <brett at python.org> added the comment:

I don't think this should be done (and I honestly would have disagreed with the Popen change for its 'env' argument or any other place that is dealing with environment variables). Environment variables are strings, period, so they should be specified as such; explicit is better than implicit (and there isn't enough pragmatic benefit to override this in my opinion).

----------

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


More information about the Python-bugs-list mailing list