File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -2236,6 +2236,15 @@ Porting to Python 3.12
22362236 guidance then please create a new GitHub issue
22372237 and CC ``@ericsnowcurrently ``.
22382238
2239+ * The :mod: `threading ` module now expects the :mod: `!_thread ` module to have
2240+ a ``_is_main_interpreter `` attribute. Is is a function with no
2241+ arguments that returns ``True `` if the current interpreter is the
2242+ main interpreter.
2243+
2244+ Any library or application that provides a custom ``_thread `` module
2245+ must make sure it provides ``_is_main_interpreter() ``.
2246+ (See :gh: `112826 `.)
2247+
22392248Deprecated
22402249----------
22412250
Original file line number Diff line number Diff line change @@ -1046,6 +1046,15 @@ Changes in the Python API
10461046 retrieve a username, instead of :exc: `ImportError ` on non-Unix platforms or
10471047 :exc: `KeyError ` on Unix platforms where the password database is empty.
10481048
1049+ * The :mod: `threading ` module now expects the :mod: `!_thread ` module to have
1050+ a ``_is_main_interpreter `` attribute. Is is a function with no
1051+ arguments that returns ``True `` if the current interpreter is the
1052+ main interpreter.
1053+
1054+ Any library or application that provides a custom ``_thread `` module
1055+ must make sure it provides ``_is_main_interpreter() ``.
1056+ (See :gh: `112826 `.)
1057+
10491058
10501059Build Changes
10511060=============
You can’t perform that action at this time.
0 commit comments