Skip to content

[3.6] bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675)#10688

Merged
vstinner merged 1 commit intopython:3.6from
vstinner:args_from_interpreter36
Nov 23, 2018
Merged

[3.6] bpo-34812: subprocess._args_from_interpreter_flags(): add isolated (GH-10675)#10688
vstinner merged 1 commit intopython:3.6from
vstinner:args_from_interpreter36

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Nov 23, 2018

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 9de3632)

https://bugs.python.org/issue34812

…H-10675)

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 9de3632)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants