summaryrefslogtreecommitdiffstats
path: root/Lib/subprocess.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-07-28 05:50:56 (GMT)
committerGitHub <noreply@github.com>2023-07-28 05:50:56 (GMT)
commit8492aae9bd60174386a374563594a2ba6512f1f6 (patch)
tree871b23cb5a3a318fea24edf08711768448563a45 /Lib/subprocess.py
parent51b302e3f322eba7933da87ff1e6dd462c925859 (diff)
downloadcpython-8492aae9bd60174386a374563594a2ba6512f1f6.zip
cpython-8492aae9bd60174386a374563594a2ba6512f1f6.tar.gz
cpython-8492aae9bd60174386a374563594a2ba6512f1f6.tar.bz2
[3.11] gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (#107368)
gh-106723: forward -Xfrozen_modules option to spawned process interpreters (GH-106724) (cherry picked from commit 3dcac785810df4d9db50abe90847eaf03bbdaaf4) Co-authored-by: Felipe A. Hernandez <ergoithz@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Lib/subprocess.py')
-rw-r--r--Lib/subprocess.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/subprocess.py b/Lib/subprocess.py
index fbc76b8..6df5dd5 100644
--- a/Lib/subprocess.py
+++ b/Lib/subprocess.py
@@ -346,7 +346,7 @@ def _args_from_interpreter_flags():
if dev_mode:
args.extend(('-X', 'dev'))
for opt in ('faulthandler', 'tracemalloc', 'importtime',
- 'showrefcount', 'utf8'):
+ 'frozen_modules', 'showrefcount', 'utf8'):
if opt in xoptions:
value = xoptions[opt]
if value is True: