Skip to content
Snippets Groups Projects
Commit a7c02c45 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

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.
parent 8fbabab1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment