From: Victor Stinner Date: Sun, 2 Jul 2023 16:11:45 +0000 (+0200) Subject: gh-106320: Remove private _PyInterpreterState functions (#106335) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c67bc89f8eebc3c026d11b68541f5a01bc68cae1;p=thirdparty%2FPython%2Fcpython.git 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. ---