cpython/Lib/_pyrepl
Ł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-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) 2024-07-17 16:18:42 +02:00
_minimal_curses.py Improve `pyrepl` type-annotation coverage (#119081) 2024-05-17 06:13:24 -04:00
_threading_handler.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00
commands.py gh-119517: Fixes for pasting in pyrepl (#120253) 2024-06-11 16:42:10 +00:00
completing_reader.py Fix typos in comments and test code (#122846) 2024-08-11 21:16:41 -07:00
console.py gh-122546: use same filename for different exceptions in new repl (#123217) 2024-08-22 12:55:30 +01:00
curses.py
fancy_termios.py
historical_reader.py gh-119034, REPL: Change page up/down keys to search in history (#123607) 2024-09-06 13:15:00 +02:00
input.py Improve `pyrepl` type-annotation coverage (#119081) 2024-05-17 06:13:24 -04:00
keymap.py Remove almost all unpaired backticks in docstrings (#119231) 2024-05-22 12:35:18 -04:00
main.py gh-121957: Emit audit events for `python -i` and `python -m asyncio` (GH-121958) 2024-07-22 13:04:08 +02:00
mypy.ini Enable some stricter mypy settings on `Lib/_pyrepl` (#119077) 2024-05-20 08:52:32 -04:00
pager.py gh-120417: Remove unused imports in the stdlib (#120420) 2024-06-12 20:56:42 +02:00
reader.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00
readline.py gh-119310: Fix encoding when reading old history file (#121779) 2024-09-06 15:40:29 +02:00
simple_interact.py gh-119034, REPL: Change page up/down keys to search in history (#123607) 2024-09-06 13:15:00 +02:00
trace.py
types.py
unix_console.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00
unix_eventqueue.py
utils.py gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) 2024-07-30 14:03:52 +02:00
windows_console.py gh-120221: Support KeyboardInterrupt in asyncio REPL (#123795) 2024-09-06 21:28:29 +02:00