Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async generator breakage #491

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Conversation

MarcoGorelli
Copy link
Contributor

closes #489

@@ -20,6 +20,10 @@
'"".join([[i for _ in range(2)] for i in range(3)])\n',
id='string join (left alone for perf reasons)',
),
pytest.param(
'sum([i async for i in foo()])\n',
Copy link
Owner

Choose a reason for hiding this comment

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

this test doesn't fail before the change in python3.6 (this is a syntax error: async for outside of async def)

Copy link
Owner

@asottile asottile left a comment

Choose a reason for hiding this comment

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

@asottile asottile merged commit 879ba53 into asottile:master Jul 15, 2021
@MarcoGorelli MarcoGorelli deleted the async-generator branch July 15, 2021 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

async generator breakage
2 participants