C extensions should not use private functions (functions prefixed by _Py), but PEP 523 only added private functions:
_PyInterpreterState_GetEvalFrameFunc()
_PyInterpreterState_SetEvalFrameFunc()
_PyEval_EvalFrameDefault()
I propose promoting these functions as public functions (just remove the _ prefix):
PyUnstable_InterpreterState_GetEvalFrameFunc()
PyUnstable_InterpreterState_SetEvalFrameFunc()
PyUnstable_Eval_EvalFrameDefault()
cc @emmatyping
Update: I added PyUnstable_ prefix to function names.
Linked PRs
C extensions should not use private functions (functions prefixed by
_Py), but PEP 523 only added private functions:_PyInterpreterState_GetEvalFrameFunc()_PyInterpreterState_SetEvalFrameFunc()_PyEval_EvalFrameDefault()I propose promoting these functions as public functions (just remove the
_prefix):PyUnstable_InterpreterState_GetEvalFrameFunc()PyUnstable_InterpreterState_SetEvalFrameFunc()PyUnstable_Eval_EvalFrameDefault()cc @emmatyping
Update: I added
PyUnstable_prefix to function names.Linked PRs