SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 81 Python

gh-106320: Remove private _PyInterpreterState functions (#106325)

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.
V
Victor Stinner committed
8571b271e7d16fe87d669a2e1e50f5ae3732bb31
Parent: feb51f3
Committed by GitHub <noreply@github.com> on 7/2/2023, 1:39:38 AM