diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-05-10 00:41:34 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2015-05-10 00:41:49 +0300 |
commit | 4ed7b7f751b161420e6979927fd0756467a10cb7 (patch) | |
tree | 1c1d484269c9a5afe6886d1cf13ec1ea3c5b3f4c /unix/modtermios.c | |
parent | a37d13c95d1e91bc278ff01e8315d8389a218828 (diff) | |
download | micropython-4ed7b7f751b161420e6979927fd0756467a10cb7.tar.gz micropython-4ed7b7f751b161420e6979927fd0756467a10cb7.zip |
py: iternext() may not return MP_OBJ_NULL, only MP_OBJ_STOP_ITERATION.
Testing for incorrect value led to premature termination of generator
containing yield from for such iterator (e.g. "yield from [1, 2]").
Diffstat (limited to 'unix/modtermios.c')
0 files changed, 0 insertions, 0 deletions