diff options
author | Damien George <damien.p.george@gmail.com> | 2018-09-14 00:44:06 +1000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2018-09-20 15:36:59 +1000 |
commit | 3f6ffe059f64b3ebc44dc0bbc63452cb8850702b (patch) | |
tree | 5bf2fe77ad624afccd08011ab05b19ab321b5d9c /py/objtuple.c | |
parent | 17f7c683d2790880ec9da70f7bc7e40c490c8796 (diff) |
py/objgenerator: Implement PEP479, StopIteration convs to RuntimeError.
This commit implements PEP479 which disallows raising StopIteration inside
a generator to signal that it should be finished. Instead, the generator
should simply return when it is complete.
See https://www.python.org/dev/peps/pep-0479/ for details.
Diffstat (limited to 'py/objtuple.c')
0 files changed, 0 insertions, 0 deletions