mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
[3.12] GH-106898: Add the exception as an argument to the PY_UNWIND
event callback function. (GH-107347) (GH-107382)
This commit is contained in:
parent
0902afbae2
commit
3f167de440
4 changed files with 29 additions and 6 deletions
|
@ -2070,7 +2070,7 @@ monitor_unwind(PyThreadState *tstate,
|
|||
if (no_tools_for_event(tstate, frame, PY_MONITORING_EVENT_PY_UNWIND)) {
|
||||
return;
|
||||
}
|
||||
_Py_call_instrumentation_exc0(tstate, PY_MONITORING_EVENT_PY_UNWIND, frame, instr);
|
||||
do_monitor_exc(tstate, frame, instr, PY_MONITORING_EVENT_PY_UNWIND);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue