mirror of https://github.com/python/cpython
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>
This commit is contained in:
parent
76c26eaca4
commit
3dcac78581
|
@ -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:
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Propagate ``frozen_modules`` to multiprocessing spawned process interpreters.
|
Loading…
Reference in New Issue