-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-95051: ensure that timeouts scheduled with asyncio.Timeout
that have already expired are deliverered promptly
#95109
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
Conversation
edited by bedevere-bot
- Issue: asyncio.timeout(0) and asyncio.timeout(-1) cancellation is delayed #95051
c6281b2
to
51686d7
Compare
asyncio.Timeout
are deliverered promptly
asyncio.Timeout
are deliverered promptlyasyncio.Timeout
that have already expired are deliverered promptly
Misc/NEWS.d/next/Library/2022-07-21-22-59-22.gh-issue-95109.usxA9r.rst
Outdated
Show resolved
Hide resolved
Misc/NEWS.d/next/Library/2022-07-21-22-59-22.gh-issue-95109.usxA9r.rst
Outdated
Show resolved
Hide resolved
…xA9r.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
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.
LG, just a nit, and maybe now that we're testing this behavior, it should be noted in the docs?
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Thanks @graingert for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry @graingert and @gvanrossum, I had trouble checking out the |
@graingert please backport manually and ask Pablo for a review. |
Thanks @graingert for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-95216 is a backport of this pull request to the 3.11 branch. |
When @miss-islington's message is "I had trouble checking out the 3.X branch" (as opposed to "I couldn't create the backport due to a merge conflict"), just removing and re-adding the label is usually enough to fix it :) |
Thanks @graingert for the PR, and @gvanrossum for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11. |
… that have already expired are deliverered promptly (pythonGH-95109) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> (cherry picked from commit 0c6f898) Co-authored-by: Thomas Grainger <tagrain@gmail.com>
@graingert, I already removed and re-added the label — this is the backport here |
argh I saw the email notification and had a stale copy of the PR page open |
It's race conditions all the way down |
Maybe one of you can make the bot more user friendly? |
It's race conditions all the way down |
It's been on my to-do list for a while..... |