You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the culprit is there. If we remove the _GUARD_NOT_EXHAUSTED_LIST from is_for_iter_test, the problem will go away (although it can still be reproduced in other ways using other (range, tuple) iterators).
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux, macOS
The text was updated successfully, but these errors were encountered:
This is a tier two thing, not a JIT thing. Let's reserve the topic-JIT label for issues that reproduce with --enable-experimental-jit (but not--enable-experimental-jit=interpreter).
Bug report
Bug description:
Reproducer:
Output:
Obviously, the last line is incorrect.
Output with a
PYTHON_LLTRACE=2
env:It's definitely related to this part of code:
cpython/Python/optimizer.c
Lines 1027 to 1033 in e4a97a7
I guess the culprit is there. If we remove the
_GUARD_NOT_EXHAUSTED_LIST
fromis_for_iter_test
, the problem will go away (although it can still be reproduced in other ways using other (range, tuple) iterators).CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux, macOS
The text was updated successfully, but these errors were encountered: