GH-102818: Do not call PyTraceBack_Here in sys.settrace trampoline. (GH-104579)
This commit is contained in:
@@ -950,10 +950,6 @@ call_trampoline(PyThreadState *tstate, PyObject* callback,
|
||||
PyObject *result = _PyObject_FastCallTstate(tstate, callback, stack, 3);
|
||||
|
||||
PyFrame_LocalsToFast(frame, 1);
|
||||
if (result == NULL) {
|
||||
PyTraceBack_Here(frame);
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user