-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
bpo-43216: Remove @asyncio.coroutine #26369
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR is stale because it has been open for 30 days with no activity. |
This isn't stale |
multiprocessing tests hang on Address sanitizer. I cannot merge the PR because of it :-( cc @pablogsal |
That's weird. Maybe run them again? We can look into increasing timeout for that run or excluding those |
Merged, thanks. I decided to no longer wait for @1st1 or @asvetlov since they seem to be busy. The change looks reasonable. If this change breaks too many asyncio project, we can consider to revert it, help projects to migrate, and reschedule the removal once enough projects migrated. I hope that in 2021, most projects are now written with "async def" and "await". The |
@vstinner did this miss the deadline for py3.10 backport? |
Thanks @vstinner & @graingert!
This removal was discussed shortly before the 3.10 feature freeze. Victor suggested to wait for Python 3.11 to remove the decorator. |
Exactly ;-) |
@asyncio.coroutine
was scheduled for removal in Python 3.10 originally.https://bugs.python.org/issue43216