Closed
Description
Bug report
Bug description:
There is error check missing right after a loop in
Lines 935 to 982 in f3d5d4a
Loop breaks when
PyIter_Next
returns NULL
indicating that it is exhausted, but if an exception occurs, it will also return NULL
and additionally set the exception which is not checked.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response