From 5a4ba3401c02b30198cd93a819e8318c87144cec Mon Sep 17 00:00:00 2001 From: "Felipe A. Hernandez" Date: Thu, 13 Jul 2023 15:47:28 +0100 Subject: [PATCH 1/4] subprocess-frozen-modules: forward frozen_modules xoption --- Lib/subprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/subprocess.py b/Lib/subprocess.py index fbc76b8d0f14b2..6df5dd551ea67e 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: From 1bc266e8c282a01cda957c70b3b31beb857526c9 Mon Sep 17 00:00:00 2001 From: "Felipe A. Hernandez" Date: Thu, 13 Jul 2023 16:13:44 +0100 Subject: [PATCH 2/4] NEWS updated (blurb_it fix) --- .../2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst | 1 + 1 file changed, 1 insertion(+) create mode 100644 Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst new file mode 100644 index 00000000000000..1d70f8b3cbaf33 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst @@ -0,0 +1 @@ +Fix -Xfrozen_modules=off passing to multiprocessing subinterpreters. From 4944fdfb42311d97769db93c605944da0ef63a2a Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Thu, 27 Jul 2023 12:36:23 +0530 Subject: [PATCH 3/4] Update Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst --- .../2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst index 1d70f8b3cbaf33..9b6e2f190aa148 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst @@ -1 +1 @@ -Fix -Xfrozen_modules=off passing to multiprocessing subinterpreters. +Propagate ``frozen_modules`` to multiprocessing subinterpreters. From 6443be1f1baa7b04aaa76d57b49104aa1a43ae62 Mon Sep 17 00:00:00 2001 From: "Gregory P. Smith" Date: Thu, 27 Jul 2023 21:27:23 -0700 Subject: [PATCH 4/4] Update 2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst --- .../2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst index 9b6e2f190aa148..207f397f17d3f3 100644 --- a/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst +++ b/Misc/NEWS.d/next/Core and Builtins/2023-07-13-14-55-45.gh-issue-106723.KsMufQ.rst @@ -1 +1 @@ -Propagate ``frozen_modules`` to multiprocessing subinterpreters. +Propagate ``frozen_modules`` to multiprocessing spawned process interpreters.