]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 23 Nov 2018 17:13:32 +0000 (09:13 -0800)
committerGitHub <noreply@github.com>
Fri, 23 Nov 2018 17:13:32 +0000 (09:13 -0800)
commit01e579949ab546cd4cdd0d6d18e3ef41ce94f46e
treec1231290da9555b6c595add21854a5ca4986efe2
parent70cc0923404e37dfd3395200d8040f2a334bacab
bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675)

The "-I" command line option (run Python in isolated mode) is 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.
(cherry picked from commit 9de363271519e0616f4a7b59427057c4810d3acc)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
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]