Skip to content

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

Merged
1st1 merged 1 commit into
python:3.8from
elprans:backport-c517fc7-3.8
Aug 26, 2020
Merged

[3.8] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895)#21967
1st1 merged 1 commit into
python:3.8from
elprans:backport-c517fc7-3.8

Conversation

@elprans

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

Automerge-Triggered-By: @1st1

…out <= 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)
@elprans
elprans force-pushed the backport-c517fc7-3.8 branch from 497d8a4 to e6387ad Compare August 26, 2020 19:08
@1st1
1st1 merged commit 57b6988 into python:3.8 Aug 26, 2020
@bedevere-bot

Copy link
Copy Markdown

@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

4 participants