[Python-checkins] gh-106320: Remove private _PyInterpreterState functions (#106335)

vstinner webhook-mailer at python.org
Sun Jul 2 12:11:48 EDT 2023


https://github.com/python/cpython/commit/9a51a419619bb9dd1075d683708c57803c5d48c7
commit: 9a51a419619bb9dd1075d683708c57803c5d48c7
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2023-07-02T18:11:45+02:00
summary:

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.

files:





More information about the Python-checkins mailing list