aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorBrandt Bucher <brandtbucher@microsoft.com>2024-07-29 12:17:47 -0700
committerGitHub <noreply@github.com>2024-07-29 12:17:47 -0700
commit15d4cd096758ca089c6bd6ed808c34cca676d9bb (patch)
tree61974e660bbe481041e8d84dd1449c38142bb552 /Python/executor_cases.c.h
parent68840e91ac6689d3954b98a9ab136e194b5250b8 (diff)
downloadcpython-15d4cd096758ca089c6bd6ed808c34cca676d9bb.tar.gz
cpython-15d4cd096758ca089c6bd6ed808c34cca676d9bb.zip
GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122413)
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 6e3f6cc62fe..62654035e80 100644
--- a/Python/executor_cases.c.h
+++ b/Python/executor_cases.c.h
@@ -3173,6 +3173,7 @@
if (!_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) {
JUMP_TO_ERROR();
}
+ _PyEval_MonitorRaise(tstate, frame, frame->instr_ptr);
_PyErr_Clear(tstate);
}
/* iterator ended normally */