commit | 1036ccb55de4abc70837cb46a72ddbb370b8fc94 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Wed Aug 26 10:14:59 2020 -0700 |
committer | GitHub <noreply@github.com> | Wed Aug 26 19:14:59 2020 +0200 |
tree | 307a6e80f9467c7ad18242c717c772d5e3fc809f | |
parent | d7cd1164c18dbf78380ce4c95bf46c7bb0ac0bb7 [diff] |
bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895) (GH-21963) 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 c517fc712105c8e5930cb42baaebdbe37fc3e15f) Co-authored-by: Elvis Pranskevichus <elvis@magic.io>