0
0
mirror of https://github.com/python/cpython.git synced 2024-11-21 21:09:37 +01:00
cpython/Lib/asyncio
Łukasz Langa 033510e11d
gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795)
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.
2024-09-06 21:28:29 +02:00
..
__init__.py
__main__.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00
base_events.py
base_futures.py
base_subprocess.py
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
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