File tree 2 files changed +18
-0
lines changed 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
2236
2236
guidance then please create a new GitHub issue
2237
2237
and CC ``@ericsnowcurrently ``.
2238
2238
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
+
2239
2248
Deprecated
2240
2249
----------
2241
2250
Original file line number Diff line number Diff line change @@ -1046,6 +1046,15 @@ Changes in the Python API
1046
1046
retrieve a username, instead of :exc: `ImportError ` on non-Unix platforms or
1047
1047
:exc: `KeyError ` on Unix platforms where the password database is empty.
1048
1048
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
+
1049
1058
1050
1059
Build Changes
1051
1060
=============
You can’t perform that action at this time.
0 commit comments