Skip to content

Commit 3dcac78

Browse files
ergoithzkumaraditya303gpshead
authored
gh-106723: forward -Xfrozen_modules option to spawned process interpreters (#106724)
Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Gregory P. Smith <[email protected]>
1 parent 76c26ea commit 3dcac78

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Lib/subprocess.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ def _args_from_interpreter_flags():
346346
if dev_mode:
347347
args.extend(('-X', 'dev'))
348348
for opt in ('faulthandler', 'tracemalloc', 'importtime',
349-
'showrefcount', 'utf8'):
349+
'frozen_modules', 'showrefcount', 'utf8'):
350350
if opt in xoptions:
351351
value = xoptions[opt]
352352
if value is True:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Propagate ``frozen_modules`` to multiprocessing spawned process interpreters.

0 commit comments

Comments
 (0)