…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: Please replace |
Currently, if
asyncio.wait_for()itself is cancelled it will alwaysraise
CancelledErrorregardless if the underlying task is stillrunning. 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