]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter (gh-112853)
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 7 Dec 2023 20:22:15 +0000 (13:22 -0700)
committerGitHub <noreply@github.com>
Thu, 7 Dec 2023 20:22:15 +0000 (13:22 -0700)
commit64d8b4c7099a6097a7f7340c575679c5622fcd5c
tree978c3417e632e041adf750c48487aee4c47e87ab
parentcf6110ba1337cb67e5867d86e7c0e8d923a5bc8d
gh-112826: Add a "What's New" Entry About _thread._is_main_interpreter (gh-112853)

As of gh-112661, the threading module expects the _thread module to have a _is_main_interpreter(), which is used in the internal threading._shutdown().  This change causes a problem for anyone that replaces the _thread module with a custom one (only if they don't provide _is_main_interpreter()).  They need to be sure to add it for 3.13+, thus this PR is adding a note in "What's New".

This also forward-ports the "What's New" entry from 3.12 (gh-112850).  Note that we do not also forward-port the fix in that PR.  The fix is there only due to a regression from 3.12.0. There is no regression in 3.13+.
Doc/whatsnew/3.12.rst
Doc/whatsnew/3.13.rst