diff options
author | Brandt Bucher <brandtbucher@microsoft.com> | 2024-07-29 19:17:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-29 19:17:47 (GMT) |
commit | 15d4cd096758ca089c6bd6ed808c34cca676d9bb (patch) | |
tree | 61974e660bbe481041e8d84dd1449c38142bb552 /Python/generated_cases.c.h | |
parent | 68840e91ac6689d3954b98a9ab136e194b5250b8 (diff) | |
download | cpython-15d4cd096758ca089c6bd6ed808c34cca676d9bb.zip cpython-15d4cd096758ca089c6bd6ed808c34cca676d9bb.tar.gz cpython-15d4cd096758ca089c6bd6ed808c34cca676d9bb.tar.bz2 |
GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122413)
Diffstat (limited to 'Python/generated_cases.c.h')
-rw-r--r-- | Python/generated_cases.c.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/generated_cases.c.h b/Python/generated_cases.c.h index 76d1cc7..3c643f6 100644 --- a/Python/generated_cases.c.h +++ b/Python/generated_cases.c.h @@ -3063,7 +3063,7 @@ if (!_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) { goto error; } - monitor_raise(tstate, frame, this_instr); + _PyEval_MonitorRaise(tstate, frame, this_instr); _PyErr_Clear(tstate); } /* iterator ended normally */ @@ -3731,7 +3731,7 @@ if (!_PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) { goto error; } - monitor_raise(tstate, frame, this_instr); + _PyEval_MonitorRaise(tstate, frame, this_instr); _PyErr_Clear(tstate); } /* iterator ended normally */ @@ -6026,7 +6026,7 @@ if (retval_o == NULL) { if (_PyErr_ExceptionMatches(tstate, PyExc_StopIteration) ) { - monitor_raise(tstate, frame, this_instr); + _PyEval_MonitorRaise(tstate, frame, this_instr); } if (_PyGen_FetchStopIterationValue(&retval_o) == 0) { assert(retval_o != NULL); |