SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 94 Python

bpo-33041: Rework compiling an "async for" loop. (#6142)

* Added new opcode END_ASYNC_FOR.
* Setting global StopAsyncIteration no longer breaks "async for" loops.
* Jumping into an "async for" loop is now disabled.
* Jumping out of an "async for" loop no longer corrupts the stack.
* Simplify the compiler.
S
Serhiy Storchaka committed
702f8f3611bc49b73772cce2b9b041bd11ff9b35
Parent: c65bf3f
Committed by GitHub <noreply@github.com> on 3/23/2018, 12:34:35 PM