cpython/Lib/asyncio
Miss Islington (bot) a7e281150e
gh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (GH-97765)
Ensure that the event loop's `_thread_id` attribute and the asyncgen hooks set by `sys.set_asyncgen_hooks()` are always restored no matter where a KeyboardInterrupt exception is raised.
(cherry picked from commit 3a49dbb98c)

Co-authored-by: hetmankp <728670+hetmankp@users.noreply.github.com>
2022-10-03 14:39:44 -07:00
..
__init__.py
__main__.py
base_events.py gh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (GH-97765) 2022-10-03 14:39:44 -07:00
base_futures.py
base_subprocess.py
base_tasks.py
constants.py
coroutines.py
events.py bpo-46278: fix typo introduced in GH-30427 (GH-30430) (GH-30431) 2022-01-06 16:44:22 +02:00
exceptions.py
format_helpers.py
futures.py GH-96827: Don't touch closed loops from executor threads (GH-96837) 2022-09-30 13:25:06 -07:00
locks.py gh-97545: Make Semaphore run faster. (GH-97549) 2022-09-26 16:57:52 -07:00
log.py
mixins.py
proactor_events.py gh-92841: Fix asyncio's RuntimeError: Event loop is closed (GH-92842) (GH-92904) 2022-06-28 11:43:14 +02:00
protocols.py bpo-46741: Update asyncio.protocols.BufferedProtocol docstring (GH-31327) (GH-31362) 2022-02-15 19:14:09 +02:00
queues.py [3.10] bpo-46469: Make asyncio generic classes return GenericAlias (GH-30777) (#30784) 2022-01-22 14:28:51 +02:00
runners.py
selector_events.py bpo-27929: resolve names only for AF_INET/AF_INET6 with asyncio (GH-32131) 2022-03-28 15:15:05 -07:00
sslproto.py bpo-46487: Add get_write_buffer_limits to Write and _SSLProtocol transports (GH-30958) 2022-02-01 11:30:03 -08:00
staggered.py
streams.py GH-74116: Allow multiple drain waiters for asyncio.StreamWriter (GH-94705) 2022-09-08 08:42:08 -07:00
subprocess.py
tasks.py gh-94972: document that shield users need to keep a reference to their task (GH-96724) 2022-09-10 07:57:44 -07:00
threads.py
transports.py bpo-46487: Add get_write_buffer_limits to Write and _SSLProtocol transports (GH-30958) 2022-02-01 11:30:03 -08:00
trsock.py
unix_events.py GH-85760: Fix race in calling process_exited callback too early (GH-97009) 2022-09-22 10:23:48 -07:00
windows_events.py bpo-46239: improve error message when importing asyncio.windows_events (GH-30353) (#30388) 2022-01-04 11:22:26 +02:00
windows_utils.py