]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675) (GH...
authorVictor Stinner <vstinner@redhat.com>
Fri, 23 Nov 2018 18:02:26 +0000 (19:02 +0100)
committerGitHub <noreply@github.com>
Fri, 23 Nov 2018 18:02:26 +0000 (19:02 +0100)
commitcc0e0a2214d6515cf6ba4c7b164902a87e321b45
tree37374f4befa022233b9feb9155353db2cb6dea90
parenteef813b1091f4baaaa7411aa58d2746a9761ee99
bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675) (GH-10688)

The "-I" command line option (run Python in isolated mode) and -X
options (like -X faulthandler) are now also copied by the
multiprocessing and distutils modules when spawning child processes.
Previously, only -E and -s options (enabled by -I) were copied.

subprocess._args_from_interpreter_flags() now copies the -I flag
and options from sys._xoptions like -X dev.

(cherry picked from commit 9de363271519e0616f4a7b59427057c4810d3acc)
Lib/subprocess.py
Lib/test/test_support.py
Misc/NEWS.d/next/Security/2018-11-23-15-00-23.bpo-34812.84VQnb.rst [new file with mode: 0644]