Skip to content

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

Closed
elprans wants to merge 1 commit into
python:3.7from
elprans:backport-c517fc7-3.7
Closed

[3.7] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895)#21968
elprans wants to merge 1 commit into
python:3.7from
elprans:backport-c517fc7-3.7

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)

Co-authored-by: Elvis Pranskevichus <elvis@magic.io>
@1st1

1st1 commented Aug 26, 2020

Copy link
Copy Markdown
Member

@ambv and this one...

@ambv

ambv commented Aug 26, 2020

Copy link
Copy Markdown
Contributor

Like I mentioned on #21969, 3.7 is in security fixes only mode now.

@ambv ambv closed this Aug 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

5 participants