[issue39857] subprocess.run: add an extra_env kwarg to complement existing env kwarg

Caleb Hattingh report at bugs.python.org
Tue Mar 10 05:31:11 EDT 2020


Caleb Hattingh <caleb.hattingh at gmail.com> added the comment:

The dict unpacking generalizations that I posted were added in Python 3.5, which is pretty old by now. (But, true, is in Python 3 and not Python 2). This is the PEP: https://www.python.org/dev/peps/pep-0448/

The new syntax that Brandt posted will indeed only be available from 3.9 on.

----------

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


More information about the Python-bugs-list mailing list