GH-107724: Fix the signature of PY_THROW callback functions. (GH-107725)

This commit is contained in:
Mark Shannon 2023-08-09 09:30:50 +01:00 committed by GitHub
parent 2fb484e625
commit 52fbcf61b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 39 additions and 18 deletions

View file

@ -2039,7 +2039,7 @@ monitor_throw(PyThreadState *tstate,
if (no_tools_for_event(tstate, frame, PY_MONITORING_EVENT_PY_THROW)) {
return;
}
_Py_call_instrumentation_exc0(tstate, PY_MONITORING_EVENT_PY_THROW, frame, instr);
do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_THROW);
}
void