Skip to content

Conversation

@serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Mar 18, 2018

  • 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.

https://bugs.python.org/issue33041

* 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.
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Mar 18, 2018
@serhiy-storchaka serhiy-storchaka requested a review from 1st1 March 18, 2018 12:14
Copy link
Member

@1st1 1st1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Serhiy. Thanks!

@serhiy-storchaka serhiy-storchaka merged commit 702f8f3 into python:master Mar 23, 2018
@bedevere-bot
Copy link

@serhiy-storchaka: Please replace # with GH- in the commit message next time. Thanks!

@serhiy-storchaka serhiy-storchaka deleted the async-for branch March 23, 2018 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-bug An unexpected behavior, bug, or error

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants