Skip to content

[3.9] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895) - #21963

Merged
ambv merged 1 commit into
python:3.9from
miss-islington:backport-c517fc7-3.9
Aug 26, 2020
Merged

[3.9] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895)#21963
ambv merged 1 commit into
python:3.9from
miss-islington:backport-c517fc7-3.9

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

When I was fixing bpo-32751 back in GH-7216 I missed the case when
timeout is zero or negative. This takes care of that.

Props to @aaliddell for noticing the inconsistency.
(cherry picked from commit c517fc7)

Co-authored-by: Elvis Pranskevichus elvis@magic.io

https://bugs.python.org/issue32751

… 0 (pythonGH-21895)

When I was fixing bpo-32751 back in pythonGH-7216 I missed the case when
*timeout* is zero or negative.  This takes care of that.

Props to @aaliddell for noticing the inconsistency.
(cherry picked from commit c517fc7)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
@ambv
ambv merged commit 1036ccb into python:3.9 Aug 26, 2020
@miss-islington
miss-islington deleted the backport-c517fc7-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

5 participants