[3.7] bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) by elprans · Pull Request #21969 · python/cpython · GitHub
Skip to content

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

Closed
elprans wants to merge 1 commit into
python:3.7from
elprans:backport-a2118a1-3.7
Closed

elprans wants to merge 1 commit into
python:3.7from
elprans:backport-a2118a1-3.7

Conversation

@elprans

@elprans elprans commented Aug 26, 2020

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)

https://bugs.python.org/issue37658

…pythonGH-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

1st1 commented Aug 26, 2020

Copy link
Copy Markdown
Member

@ambv

ambv commented Aug 26, 2020

Copy link
Copy Markdown
Contributor

@1st1 it's because 3.7 is in "security bug fixes only" mode now. 3.7.9 last week was the last regular bugfix release, and even that was an extended release courtesy of Ned. I don't think 3.7 will be getting this.

@1st1

1st1 commented Aug 26, 2020

Copy link
Copy Markdown
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants