cpython/Lib/asyncio
Elvis Pranskevichus 57b698886b
[3.8] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895) (#21967)
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 c517fc7121)
2020-08-26 13:59:17 -07:00
..
__init__.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
__main__.py bpo-37028: asyncio REPL; activated via 'python -m asyncio'. (GH-13472) 2019-05-27 13:42:29 +02:00
base_events.py [3.8] bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) (#17894) 2020-01-07 16:55:19 +02:00
base_futures.py bpo-34622: Extract asyncio exceptions into a separate module (GH-9141) 2018-09-11 10:13:04 -07:00
base_subprocess.py bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) 2019-05-27 14:45:12 +02:00
base_tasks.py bpo-39764: Make Task.get_stack accept ag_frame (GH-18669) 2020-03-02 05:03:50 -08:00
constants.py bpo-33734: asyncio/ssl: a bunch of bugfixes (#7321) 2018-06-04 11:32:35 -04:00
coroutines.py bpo-36921: Deprecate @coroutine for sake of async def (GH-13346) 2019-05-16 07:52:10 -07:00
events.py bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) 2020-08-17 07:37:12 -07:00
exceptions.py bpo-32528: Make asyncio.CancelledError a BaseException. (GH-13528) 2019-05-27 14:45:12 +02:00
format_helpers.py bpo-33672: Fix Task.__repr__ crash with Cython's bogus coroutines (GH-7161) 2018-05-28 16:27:34 -04:00
futures.py bpo-38785: Prevent asyncio from crashing (GH-17144) 2019-11-13 13:54:56 -08:00
locks.py [3.8] bpo-36373: Fix deprecation warnings (GH-15889) (GH-15901) 2019-09-11 13:40:36 +03:00
log.py Rename the logger to plain "logger". 2013-10-17 15:39:45 -07:00
proactor_events.py bpo-34679: ProactorEventLoop only uses set_wakeup_fd() in main thread (GH-16901) 2019-10-23 08:43:57 -07:00
protocols.py bpo-35394: Add empty slots to abstract asyncio protocols (#10889) 2018-12-11 19:07:05 +02:00
queues.py [3.8] bpo-36373: Fix deprecation warnings (GH-15889) (GH-15901) 2019-09-11 13:40:36 +03:00
runners.py Fix and improve `asyncio.run()` docs (GH-16403) (GH-16504) 2019-09-30 18:46:43 -07:00
selector_events.py bpo-39006: Fix asyncio when the ssl module is missing (GH-17524) 2019-12-09 06:19:48 -08:00
sslproto.py bpo-37035: Don't log OSError (GH-13548) 2019-05-27 06:28:34 -07:00
staggered.py Fix import path for asyncio.TimeoutError (GH-17691) 2019-12-24 03:04:12 -08:00
streams.py bpo-38529: Fix asyncio stream warning (GH-17474) 2019-12-07 03:39:57 -08:00
subprocess.py bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482) (#16485) 2019-09-29 22:30:17 -07:00
tasks.py [3.8] bpo-32751: Wait for task cancel in asyncio.wait_for() when timeout <= 0 (GH-21895) (#21967) 2020-08-26 13:59:17 -07:00
transports.py bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (GH-21930) 2020-08-21 17:49:58 +05:30
trsock.py bpo-37027: Return a proxy socket object from transp.get_extra_info('socket') (GH-13530) 2019-05-27 06:57:19 -07:00
unix_events.py s/wakup/wakeup (GH-20250) 2020-05-20 10:58:55 -07:00
windows_events.py bpo-41467: Fix asyncio recv_into() on Windows (GH-21720) 2020-08-03 17:58:06 -07:00
windows_utils.py asyncio: __del__() keep reference to warnings.warn (GH-11491) 2019-01-10 11:24:40 +01:00