summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-07-29 21:51:19 (GMT)
committerGitHub <noreply@github.com>2024-07-29 21:51:19 (GMT)
commit55554fd2157cbf52caf6c01a64d81b948c41e82c (patch)
tree92a84fe2fb2f371cf472e434a162510c06f9c54d /Python/executor_cases.c.h
parent56340ee8b17f703d6add3e8bb7c0f85af88a5548 (diff)
downloadcpython-55554fd2157cbf52caf6c01a64d81b948c41e82c.zip
cpython-55554fd2157cbf52caf6c01a64d81b948c41e82c.tar.gz
cpython-55554fd2157cbf52caf6c01a64d81b948c41e82c.tar.bz2
[3.13] GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122419)
(cherry picked from commit 15d4cd096758ca089c6bd6ed808c34cca676d9bb)
Diffstat (limited to 'Python/executor_cases.c.h')
-rw-r--r--Python/executor_cases.c.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/executor_cases.c.h b/Python/executor_cases.c.h
index 8080d20..7859269 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -2635,6 +2635,7 @@
if (!_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
JUMP_TO_ERROR();
}
+ _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
_PyErr_Clear(tstate);
}
/* iterator ended normally */