
Hi, Update on this issue: I merged my 2 PRs. https://bugs.python.org/issue46850 The following APIs have been moved to the internal C API: - _PyFrameEvalFunction type - _PyInterpreterState_GetEvalFrameFunc() - _PyInterpreterState_SetEvalFrameFunc() - _PyEval_EvalFrameDefault() If you use any of these API in your debugger/profiler project, you have do add something like the code below to your project: --- #ifndef Py_BUILD_CORE_MODULE # define Py_BUILD_CORE_MODULE #endif #include <Python.h> #if PY_VERSION_HEX >= 0x030B00A7 # include <internal/pycore_interp.h> // _PyInterpreterState_SetEvalFrameFunc() # include <internal/pycore_ceval.h> // _PyEval_EvalFrameDefault() #endif --- Contact me if you need help to update your affected projects. IMO PEP 523 doesn't have to be updated since it already says that the APIs are private. Since these APIs were added by PEP 523, I documented these changes in What's New in Python 3.11 > C API > Porting to Python 3.11,even if these APIs are private. Victor -- Night gathers, and now my watch begins. It shall not end until my death.