bpo-40268: Include explicitly pycore_interp.h by vstinner · Pull Request #19505 · python/cpython
#include "pycore_pystate.h" /* PyInterpreterState.eval_frame */ #include "pycore_interp.h" /* PyInterpreterState.eval_frame */
extern void _Py_FinishPendingCalls(PyThreadState *tstate); extern void _PyEval_InitRuntimeState(struct _ceval_runtime_state *);
extern int _PyEval_ThreadsInitialized(_PyRuntimeState *runtime); extern int _PyEval_ThreadsInitialized(struct pyruntimestate *runtime); extern PyStatus _PyEval_InitGIL(PyThreadState *tstate); extern void _PyEval_FiniGIL(PyThreadState *tstate);