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

Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add a "What's New" entry.
  • Loading branch information
ericsnowcurrently committed Dec 7, 2023
commit 067f55b25501f0ec89fbf6b0d96a4b30fd997267
9 changes: 9 additions & 0 deletions Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1895,6 +1895,15 @@ Changes in the Python API
* Mixing tabs and spaces as indentation in the same file is not supported anymore and will
raise a :exc:`TabError`.

* The :mod:`threading` module now expects the `_thread` module to have
Comment thread
ericsnowcurrently marked this conversation as resolved.
Outdated
a ``_is_main_interpreter`` attribute. Is is a function with no
Comment thread
ericsnowcurrently marked this conversation as resolved.
Outdated
Comment thread
ericsnowcurrently marked this conversation as resolved.
Outdated
arguments that returns ``True`` if the current interpreter is the
main interpreter.

Any library or application that provides a custom ``_thread`` module
must make sure it provides ``_is_main_interpreter()``.
Comment thread
ericsnowcurrently marked this conversation as resolved.
Outdated
(See :gh:`112826`.)

Build Changes
=============

Expand Down