mirror of
https://github.com/python/cpython.git
synced 2025-07-13 14:25:18 +00:00
[3.12] GH-107724: Fix the signature of PY_THROW
callback functions. (GH-107725) (#107802)
GH-107724: Fix the signature of `PY_THROW` callback functions. (GH-107725)
(cherry picked from commit 52fbcf61b5
)
Co-authored-by: Mark Shannon <mark@hotpy.org>
This commit is contained in:
parent
7853c76906
commit
ddca26188d
6 changed files with 39 additions and 18 deletions
|
@ -2099,7 +2099,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue