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.
* Distributors are encouraged to build Python with the optimized Blake2
library `libb2`_.
+* 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.
+ (Contributed by Victor Stinner in :issue:`46850`.)
+
Deprecated
----------
flag was set, else return 0. */
PyAPI_FUNC(int) PyEval_MergeCompilerFlags(PyCompilerFlags *cf);
-PyAPI_FUNC(PyObject *) _PyEval_EvalFrameDefault(PyThreadState *tstate, struct _PyInterpreterFrame *f, int exc);
-
PyAPI_FUNC(void) _PyEval_SetSwitchInterval(unsigned long microseconds);
PyAPI_FUNC(unsigned long) _PyEval_GetSwitchInterval(void);
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)
{
--- /dev/null
+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. Patch by Victor Stinner.