mirror of
https://github.com/python/cpython.git
synced 2025-07-19 09:15:34 +00:00
GH-102818: Do not call PyTraceBack_Here
in sys.settrace trampoline. (GH-104579)
This commit is contained in:
parent
616fcad6e2
commit
c26d03d5d6
4 changed files with 89 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue