cpython/Lib/asyncio
Diogo Dutra 7e5ef0a571
bpo-42140: Improve asyncio.wait function (GH-22938)
# Improve asyncio.wait function

The original code creates the futures set two times.
We can create this set before, avoiding the second creation.

This new behaviour [breaks the aiokafka library](https://github.com/aio-libs/aiokafka/pull/672), because it gives an iterator to that function, so the second iteration become empty.

Automerge-Triggered-By: GH:1st1
2020-11-10 14:12:52 -08:00
..
__init__.py
__main__.py
base_events.py
base_futures.py bpo-42183: Fix a stack overflow error for asyncio Task or Future repr() (GH-23020) 2020-11-10 15:58:31 +02:00
base_subprocess.py
base_tasks.py
constants.py
coroutines.py
events.py
exceptions.py
format_helpers.py
futures.py
locks.py
log.py
proactor_events.py bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) 2020-09-12 08:50:18 +02:00
protocols.py
queues.py
runners.py bpo-41696: Fix handling of debug mode in asyncio.run (#22069) 2020-09-02 21:54:46 -07:00
selector_events.py bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) 2020-09-12 08:50:18 +02:00
sslproto.py
staggered.py
streams.py
subprocess.py
tasks.py bpo-42140: Improve asyncio.wait function (GH-22938) 2020-11-10 14:12:52 -08:00
threads.py
transports.py bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) 2020-08-20 18:10:01 +05:30
trsock.py
unix_events.py
windows_events.py bpo-39010: Fix errors logged on proactor loop restart (#22017) 2020-08-31 12:57:52 -07:00
windows_utils.py