diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2020-08-26 18:26:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-26 18:26:28 (GMT) |
commit | 6e1954cd8286e083e7f8d09516d91b6b15769a4e (patch) | |
tree | 45986fbbbe8f561525ca4bb8728afca7ab9af224 /Lib/argparse.py | |
parent | 08045391a7aa87d4fbd3e8ef4c852c2fa4e81a8a (diff) | |
download | cpython-6e1954cd8286e083e7f8d09516d91b6b15769a4e.zip cpython-6e1954cd8286e083e7f8d09516d91b6b15769a4e.tar.gz cpython-6e1954cd8286e083e7f8d09516d91b6b15769a4e.tar.bz2 |
bpo-37658: Fix asyncio.wait_for() to respect waited task status (GH-21894) (#21965)
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 a2118a14627256197bddcf4fcecad4c264c1e39d)
Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
Diffstat (limited to 'Lib/argparse.py')
0 files changed, 0 insertions, 0 deletions