FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by miss-islington · Pull Request #21965 · python/cpython · GitHub

/ cpython Public

[3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) - #21965

Merged
1st1 merged 1 commit into
python:3.8from
miss-islington:backport-a2118a1-3.8
Aug 26, 2020
Merged

[3.8] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894)#21965
1st1 merged 1 commit into
python:3.8from
miss-islington:backport-a2118a1-3.8

Conversation

miss-islington commented Aug 26, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Currently, if asyncio.wait_for() itself is cancelled it will always
raise CancelledError regardless if the underlying task is still
running. This is similar to a race with the timeout, which is handled
already.
(cherry picked from commit a2118a1)

Co-authored-by: Elvis Pranskevichus elvis@magic.io

https://bugs.python.org/issue37658

…onGH-21894)

Currently, if `asyncio.wait_for()` itself is cancelled it will always
raise `CancelledError` regardless if the underlying task is still
running.  This is similar to a race with the timeout, which is handled
already.
(cherry picked from commit a2118a1)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
1st1 merged commit 6e1954c into python:3.8 Aug 26, 2020

Copy link
Copy Markdown

@1st1: Please replace # with GH- in the commit message next time. Thanks!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

5 participants


Back | FazBrowse Home | New Git URL