commit | a2118a14627256197bddcf4fcecad4c264c1e39d | [log] [tgz] |
---|---|---|
author | Elvis Pranskevichus <elvis@magic.io> | Wed Aug 26 09:42:45 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 26 09:42:45 2020 -0700 |
tree | 038b42295921bd86908f322143586e4d083d7cfd | |
parent | c517fc712105c8e5930cb42baaebdbe37fc3e15f [diff] |
bpo-37658: Fix asyncio.wait_for() to respect waited task status (#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.