Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Aug 26, 2020

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 [email protected]

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 <[email protected]>
@ambv ambv merged commit 9de6be4 into python:3.9 Aug 26, 2020
@miss-islington miss-islington deleted the backport-a2118a1-3.9 branch August 26, 2020 17:15
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