]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-106320: Remove private _PyInterpreterState functions (#106335)
authorVictor Stinner <vstinner@python.org>
Sun, 2 Jul 2023 16:11:45 +0000 (18:11 +0200)
committerAdorilson Bezerra <adorilson@gmail.com>
Mon, 25 Mar 2024 14:57:09 +0000 (14:57 +0000)
commitc67bc89f8eebc3c026d11b68541f5a01bc68cae1
tree3b94be739b0bd3022a743aa6e86e67c7f6cd1e57
parent9db2a8f914ad59019d448cecc43b6d45f46424a0
gh-106320: Remove private _PyInterpreterState functions (#106335)

Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the internal C API (pycore_pystate.h and
pycore_interp.h). Don't export most of these functions anymore, but
still export functions used by tests.

Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
API, but keep it in the stable API.