diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-23 18:02:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-23 18:02:26 (GMT) |
commit | cc0e0a2214d6515cf6ba4c7b164902a87e321b45 (patch) | |
tree | 37374f4befa022233b9feb9155353db2cb6dea90 /Misc/NEWS.d | |
parent | eef813b1091f4baaaa7411aa58d2746a9761ee99 (diff) | |
download | cpython-cc0e0a2214d6515cf6ba4c7b164902a87e321b45.zip cpython-cc0e0a2214d6515cf6ba4c7b164902a87e321b45.tar.gz cpython-cc0e0a2214d6515cf6ba4c7b164902a87e321b45.tar.bz2 |
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)
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Security/2018-11-23-15-00-23.bpo-34812.84VQnb.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Security/2018-11-23-15-00-23.bpo-34812.84VQnb.rst b/Misc/NEWS.d/next/Security/2018-11-23-15-00-23.bpo-34812.84VQnb.rst new file mode 100644 index 0000000..860404f --- /dev/null +++ b/Misc/NEWS.d/next/Security/2018-11-23-15-00-23.bpo-34812.84VQnb.rst @@ -0,0 +1,4 @@ +The :option:`-I` command line option (run Python in isolated mode) is now +also copied by the :mod:`multiprocessing` and :mod:`distutils` modules when +spawning child processes. Previously, only :option:`-E` and :option:`-s` options +(enabled by :option:`-I`) were copied. |