]> 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)
committerGitHub <noreply@github.com>
Sun, 2 Jul 2023 16:11:45 +0000 (18:11 +0200)
commit9a51a419619bb9dd1075d683708c57803c5d48c7
treef4f2065b7712b8aae44f4f000bcddd60d64ecafc
parent20b7c79b9d67a761aaf818d3b92498ea0b0d80d9
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.