vm: Null pointer test when checking for StopIteration optimizations.
When generator raises exception, it is automatically terminated (by setting its code_state.ip to 0), which interferes with this check. Triggered in particular by CPython's test_pep380.py.
Please register or sign in to comment