diff options
author | Mark Shannon <mark@hotpy.org> | 2023-07-27 14:47:33 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-27 14:47:33 (GMT) |
commit | ac7a0f858a8d0c6ca2e64bb880fca40e229d267a (patch) | |
tree | f9765cb1e1508018aeaa3259ef3eb431d263e6cc /Python/ceval.c | |
parent | 9a7204b86bdb3e26c2a62aeaafb875275500b9f7 (diff) | |
download | cpython-ac7a0f858a8d0c6ca2e64bb880fca40e229d267a.zip cpython-ac7a0f858a8d0c6ca2e64bb880fca40e229d267a.tar.gz cpython-ac7a0f858a8d0c6ca2e64bb880fca40e229d267a.tar.bz2 |
GH-106898: Add the exception as an argument to the `PY_UNWIND` event callback function. (GH-107347)
Diffstat (limited to 'Python/ceval.c')
-rw-r--r-- | Python/ceval.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/ceval.c b/Python/ceval.c index c0b37b3..17818a0 100644 --- a/Python/ceval.c +++ b/Python/ceval.c @@ -1987,7 +1987,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); } |