@@ -5025,7 +5025,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
5025
5025
goto error ;
5026
5026
}
5027
5027
PyObject * arg = TOP ();
5028
- PyObject * res = cfunc ( PyCFunction_GET_SELF (callable ), arg );
5028
+ PyObject * res = _PyCFunction_TrampolineCall ( cfunc , PyCFunction_GET_SELF (callable ), arg );
5029
5029
_Py_LeaveRecursiveCallTstate (tstate );
5030
5030
assert ((res != NULL ) ^ (_PyErr_Occurred (tstate ) != NULL ));
5031
5031
@@ -5226,7 +5226,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
5226
5226
if (_Py_EnterRecursiveCallTstate (tstate , " while calling a Python object" )) {
5227
5227
goto error ;
5228
5228
}
5229
- PyObject * res = cfunc ( self , arg );
5229
+ PyObject * res = _PyCFunction_TrampolineCall ( cfunc , self , arg );
5230
5230
_Py_LeaveRecursiveCallTstate (tstate );
5231
5231
assert ((res != NULL ) ^ (_PyErr_Occurred (tstate ) != NULL ));
5232
5232
Py_DECREF (self );
@@ -5298,7 +5298,7 @@ _PyEval_EvalFrameDefault(PyThreadState *tstate, _PyInterpreterFrame *frame, int
5298
5298
if (_Py_EnterRecursiveCallTstate (tstate , " while calling a Python object" )) {
5299
5299
goto error ;
5300
5300
}
5301
- PyObject * res = cfunc ( self , NULL );
5301
+ PyObject * res = _PyCFunction_TrampolineCall ( cfunc , self , NULL );
5302
5302
_Py_LeaveRecursiveCallTstate (tstate );
5303
5303
assert ((res != NULL ) ^ (_PyErr_Occurred (tstate ) != NULL ));
5304
5304
Py_DECREF (self );
0 commit comments