diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-05-10 17:18:10 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-05-10 17:20:46 +0300 |
commit | a7c02c4538bb2b986efb1999e00da4d76345767d (patch) | |
tree | 268bc2209dace6083cc2aec5531d69d07bc4deb9 /py/objbool.c | |
parent | 8fbabab1a80efa8b9c0654f63b2157d8f8299955 (diff) | |
download | micropython-a7c02c4538bb2b986efb1999e00da4d76345767d.tar.gz micropython-a7c02c4538bb2b986efb1999e00da4d76345767d.zip |
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.
Diffstat (limited to 'py/objbool.c')
0 files changed, 0 insertions, 0 deletions