summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorFelipe A. Hernandez <ergoithz@gmail.com>2023-07-28 05:04:26 (GMT)
committerGitHub <noreply@github.com>2023-07-28 05:04:26 (GMT)
commit3dcac785810df4d9db50abe90847eaf03bbdaaf4 (patch)
tree9f9a07d2f6e91f2990ea41920c7be57bde24ef1e /Lib
parent76c26eaca4147ba7e3e8d7379c5a828f0b512a46 (diff)
downloadcpython-3dcac785810df4d9db50abe90847eaf03bbdaaf4.zip
cpython-3dcac785810df4d9db50abe90847eaf03bbdaaf4.tar.gz
cpython-3dcac785810df4d9db50abe90847eaf03bbdaaf4.tar.bz2
gh-106723: forward -Xfrozen_modules option to spawned process interpreters (#106724)
Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Gregory P. Smith <greg@krypto.org>
Diffstat (limited to 'Lib')
-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: