Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3dcac78

Browse filesBrowse files
ergoithzkumaraditya303gpshead
authored
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>
1 parent 76c26ea commit 3dcac78
Copy full SHA for 3dcac78

File tree

Expand file treeCollapse file tree

2 files changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-1
lines changed

‎Lib/subprocess.py

Copy file name to clipboardExpand all lines: Lib/subprocess.py
+1-1Lines changed: 1 addition & 1 deletion
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:
+1Lines changed: 1 addition & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.