We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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?
to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
assignee = None
closed_at = <Date 2021-08-10.14:55:29.348>
created_at = <Date 2018-04-24.13:02:45.935>
labels = ['type-bug', 'expert-2to3', '3.9', '3.10', '3.11']
title = '2to3 fails to parse async generators in non-async functions'
updated_at = <Date 2021-08-10.14:55:29.347>
user = 'https://github.com/zsol'
activity = <Date 2021-08-10.14:55:29.347>
actor = 'lukasz.langa'
assignee = 'none'
closed = True
closed_date = <Date 2021-08-10.14:55:29.348>
closer = 'lukasz.langa'
components = ['2to3 (2.x to 3.x conversion tool)']
creation = <Date 2018-04-24.13:02:45.935>
creator = 'zsol'
dependencies = 
files = 
hgrepos = 
issue_num = 33349
keywords = ['patch']
message_count = 2.0
messages = ['315700', '399333']
nosy_count = 5.0
nosy_names = ['benjamin.peterson', 'lukasz.langa', 'yselivanov', 'miss-islington', 'zsol']
pr_nums = ['6588', '27702', '27703']
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33349'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
The text was updated successfully, but these errors were encountered:
This is valid since python3.7:
return (i * 2 async for i in arange(42))
but lib2to3 doesn't parse this properly, because async is tokenized as a NAME instead of ASYNC
Sorry, something went wrong.
Thanks, Zsolt! ✨ 🍰 ✨
No branches or pull requests