cpython/Lib/asyncio
Miss Islington (bot) 5c3078d6e5
[3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799)
This switches the main pyrepl event loop to always be non-blocking so that it
can listen to incoming interruptions from other threads.

This also resolves invalid display of exceptions from other threads
(gh-123178).

This also fixes freezes with pasting and an active input hook.
(cherry picked from commit 033510e11d)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2024-09-06 22:25:19 +02:00
..
__init__.py
__main__.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
base_events.py [3.13] gh-121913: Use str(exc) instead of exc.strerror in `asyncio.base_events` (GH-122269) (#122278) 2024-07-25 12:20:40 +00:00
base_futures.py
base_subprocess.py [3.13] gh-87744: fix waitpid race while calling send_signal in asyncio (GH-121126) (#121194) 2024-07-01 05:11:47 +00:00
base_tasks.py
constants.py
coroutines.py
events.py
exceptions.py
format_helpers.py
futures.py
locks.py
log.py
mixins.py
proactor_events.py [3.13] gh-113892: Add a extra check to `ProactorEventLoop.sock_connect` to ensure that the given socket is in non-blocking mode (GH-119519) (#119912) 2024-06-01 16:27:54 +00:00
protocols.py
queues.py
runners.py
selector_events.py
sslproto.py
staggered.py
streams.py
subprocess.py
taskgroups.py
tasks.py
threads.py
timeouts.py
transports.py
trsock.py
unix_events.py
windows_events.py
windows_utils.py