GH-116090: Fire RAISE events from _FOR_ITER_TIER_TWO (GH-122413)

This commit is contained in:
Brandt Bucher 2024-07-29 12:17:47 -07:00 committed by GitHub
parent 68840e91ac
commit 15d4cd0967
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 12 deletions

View file

@ -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 */