cpython/Lib/asyncio
Miss Skeleton (bot) ff852aabf2
bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073)
People call wait() and as_completed() with various non-set iterables,
a list should be the most common but there are others as well[1].

Considering typeshed also documents wait()[2] and as_completed()[3]
as accepting arbitrary iterables I think it's a good idea to document
the status quo better.

[1] https://github.com/aio-libs/aiokafka/pull/672
[2] 620989bac5/stdlib/3/asyncio/tasks.pyiGH-L161
[3] 620989bac5/stdlib/3/asyncio/tasks.pyiGH-L40
(cherry picked from commit 3d86d090dc)

Co-authored-by: Jakub Stasiak <jakub@stasiak.at>
2020-11-02 03:19:45 -08:00
..
__init__.py bpo-32309: Implement asyncio.to_thread() (GH-20143) 2020-05-19 03:03:25 -07:00
__main__.py
base_events.py bpo-39609: set the thread_name_prefix for the default asyncio executor (GH-18458) 2020-02-27 12:01:47 -08:00
base_futures.py
base_subprocess.py
base_tasks.py bpo-39764: Make Task.get_stack accept ag_frame (#18669) 2020-03-02 14:45:54 +02:00
constants.py
coroutines.py
events.py bpo-40782: Change asyncio.AbstractEventLoop.run_in_executor to be a method not a coroutine (GH-21852) 2020-08-17 07:40:26 -07:00
exceptions.py
format_helpers.py
futures.py bpo-31033: Improve the traceback for cancelled asyncio tasks (GH-19951) 2020-05-17 22:47:31 -07:00
locks.py bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533) 2020-02-01 13:12:52 +02:00
log.py
proactor_events.py bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) 2020-09-12 00:11:38 -07:00
protocols.py
queues.py bpo-38978: Implement __class_getitem__ for asyncio objects (GH-17491) 2019-12-07 03:05:07 -08:00
runners.py bpo-41696: Fix handling of debug mode in asyncio.run (GH-22069) (#22071) 2020-09-03 13:54:09 -07:00
selector_events.py bpo-39651: Fix asyncio proactor _write_to_self() (GH-22197) 2020-09-12 00:11:38 -07:00
sslproto.py bpo-40443: Remove unused imports in the stdlib (GH-19803) 2020-04-30 11:26:33 +02:00
staggered.py Fix import path for asyncio.TimeoutError (#17691) 2019-12-24 12:46:42 +02:00
streams.py bpo-38529: Fix asyncio stream warning (GH-17474) 2019-12-07 13:22:00 +02:00
subprocess.py
tasks.py bpo-42230: Improve asyncio documentation regarding accepting sets vs iterables (GH-23073) 2020-11-02 03:19:45 -08:00
threads.py Fix asyncio.to_thread() documented return type (GH-20547) 2020-05-31 00:26:20 -07:00
transports.py bpo-41572: Fix grammar in BaseTransport.close docstring (GH-21914) (#21929) 2020-08-21 17:49:40 +05:30
trsock.py
unix_events.py s/wakup/wakeup (GH-20250) 2020-05-20 10:58:47 -07:00
windows_events.py bpo-39010: Fix errors logged on proactor loop restart (GH-22017) (#22034) 2020-09-03 12:38:29 -07:00
windows_utils.py