cpython/Misc/NEWS.d/next/Core and Builtins/2018-03-18-13-56-14.bpo-330...

7 lines
280 B
ReStructuredText

Added new opcode :opcode:`END_ASYNC_FOR` and fixes the following issues:
* Setting global :exc:`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.