GeezerVison is showing github.com — bpo-43216: Remove @asyncio.coroutine by illia-v · Pull Request #26369 · python/cpython
Conversation
illia-v
commented
May 25, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
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.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
LGTM. But I would prefer that @1st1 or @asvetlov merged it.
I only quickly looked at test changes. I'm fine with removing legacy @asyncio.coroutine, async def is now standard and preferred.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
illia-v and graingert reacted with hooray emoji
|
This PR is stale because it has been open for 30 days with no activity.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
vstinner
commented
Jul 1, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
multiprocessing tests hang on Address sanitizer. I cannot merge the PR because of it :-(
cc @pablogsal
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
pablogsal
commented
Jul 1, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
multiprocessing tests hang on Address sanitizer. I cannot merge the PR because of it :-(
That's weird. Maybe run them again? We can look into increasing timeout for that run or excluding those
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
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 @coroutine syntax is a legacy of Python 3.4-3.5 era. I know that one of reasons why Instagram migrated from Python 2.7 to 3.6 is to get async def syntax!
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
graingert
commented
Jul 1, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
@vstinner did this miss the deadline for py3.10 backport?
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
illia-v
commented
Jul 1, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|
Thanks @vstinner & @graingert!
@vstinner did this miss the deadline for py3.10 backport?
This removal was discussed shortly before the 3.10 feature freeze. Victor suggested to wait for Python 3.11 to remove the decorator.
|
graingert reacted with thumbs up emoji
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This removal was discussed shortly before the 3.10 feature freeze. Victor suggested to wait for Python 3.11 to remove the decorator.
Exactly ;-)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
stale
Stale PR or inactive for long period of time.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|