]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120838: Add _PyThreadState_WHENCE_FINI (gh-121013)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 26 Jun 2024 21:32:00 +0000 (23:32 +0200)
committerGitHub <noreply@github.com>
Wed, 26 Jun 2024 21:32:00 +0000 (15:32 -0600)
commitc052b192aaa05eeedb1bd50e0658e2d836ffa581
treee1be65bbf070f16e1299c6542588ff78984fd484
parentbc515b332bef0eaa3064d3b912ad660932ad8c90
[3.13] gh-120838: Add _PyThreadState_WHENCE_FINI (gh-121013)

We also add _PyThreadState_NewBound() and drop _PyThreadState_SetWhence().

This change only affects internal API.

(cherry picked from commit a905721b9c5c15279e67c2f7785034b7356b2d46, AKA gh-121010)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
Include/cpython/pystate.h
Include/internal/pycore_pystate.h
Include/internal/pycore_tstate.h
Modules/_testinternalcapi.c
Python/crossinterp.c
Python/import.c
Python/pylifecycle.c
Python/pystate.c