[C API] Promote PEP 523 functions to public functions: add `PyUnstable_InterpreterState_SetEvalFrameFunc()`
Navigation Menu
{{ message }}
- Notifications You must be signed in to change notification settings
- Fork 34.3k
Closed
Closed
Labels
Description
opened
on Nov 13, 2025C 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
Metadata
Metadata
Assignees
No one assigned
Labels
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions