Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-106723: forward -Xfrozen_modules option to spawned process interpr…
…eters (GH-106724)

(cherry picked from commit 3dcac78)

Co-authored-by: Felipe A. Hernandez <[email protected]>
Co-authored-by: Kumar Aditya <[email protected]>
Co-authored-by: Gregory P. Smith <[email protected]>
  • Loading branch information
3 people authored and miss-islington committed Jul 28, 2023
commit a2d8412aae9d1dc7b9a8d361b9da43628ff37165
2 changes: 1 addition & 1 deletion Lib/subprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Propagate ``frozen_modules`` to multiprocessing spawned process interpreters.