[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light
/ cpython Public

Conversation

Copy link
Contributor

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

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

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