bpo-46850: Move _PyEval_EvalFrameDefault() to internal C API (GH-32052)

Move the private undocumented _PyEval_EvalFrameDefault() function to
the internal C API. The function now uses the _PyInterpreterFrame
type which is part of the internal C API.
This commit is contained in:
Victor Stinner 2022-04-01 10:17:57 +02:00 committed by GitHub
parent d4bb38f82b
commit b9a5522dd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View file

@ -59,6 +59,11 @@ extern PyObject* _PyEval_BuiltinsFromGlobals(
PyObject *globals);
PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(
PyThreadState *tstate,
struct _PyInterpreterFrame *frame,
int throwflag);
static inline PyObject*
_PyEval_EvalFrame(PyThreadState *tstate, struct _PyInterpreterFrame *frame, int throwflag)
{