Skip to content

Commit 89fb267

Browse files
Add back missed line
1 parent 9e68760 commit 89fb267

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/ceval.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,6 +1699,7 @@ clear_gen_frame(PyThreadState *tstate, _PyInterpreterFrame * frame)
16991699
frame->previous = NULL;
17001700
_PyFrame_ClearExceptCode(frame);
17011701
_PyErr_ClearExcState(&gen->gi_exc_state);
1702+
tstate->c_recursion_remaining++;
17021703
}
17031704

17041705
void

0 commit comments

Comments
 (0)