This website requires JavaScript.
Explore
Help
Sign In
djsundog
/
circuitpython
Watch
1
Star
0
Fork
0
You've already forked circuitpython
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
880875bea1
circuitpython
/
tests
/
basics
/
generator_pep479.py.exp
8 lines
59 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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.
2018-09-13 10:44:06 -04:00
1
RuntimeError
StopIteration
1
RuntimeError
py/runtime: Fix PEP479 behaviour throwing StopIteration into yield from. Commit 3f6ffe059f64b3ebc44dc0bbc63452cb8850702b implemented PEP479 but did not catch the case fixed in this commit. Found by coverage analysis, that the VM had uncovered code.
2019-09-30 02:06:20 -04:00
0
RuntimeError
Reference in New Issue
Copy Permalink