cpython/Lib/_pyrepl
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-120678: pyrepl: Include globals from modules passed with -i (GH-120904) (#121916) 2024-07-17 16:52:46 +02:00
_minimal_curses.py [3.13] Improve pyrepl type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
_threading_handler.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
commands.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
completing_reader.py [3.13] gh-119517: Fixes for pasting in pyrepl (GH-120253) (#120353) 2024-06-11 17:09:28 +00:00
console.py [3.13] gh-82378 fix sys.tracebacklimit in pyrepl, approach 2 (GH-123062) (#123252) 2024-08-23 12:59:08 +01:00
curses.py
fancy_termios.py
historical_reader.py [3.13] gh-119034, REPL: Change page up/down keys to search in history (GH-123607) (GH-123773) 2024-09-06 14:04:11 +02:00
input.py [3.13] Improve pyrepl type-annotation coverage (GH-119081) (#119415) 2024-05-22 18:38:32 +00:00
keymap.py [3.13] gh-119357: Increase test coverage for keymap in _pyrepl (GH-119358) (#119414) 2024-05-22 23:13:01 +02:00
main.py [3.13] gh-121957: Emit audit events for python -i and python -m asyncio (GH-121958) (GH-122115) 2024-07-22 13:36:57 +02:00
mypy.ini [3.13] Enable some stricter mypy settings on Lib/_pyrepl (GH-119077) (#119428) 2024-05-22 23:13:47 +02:00
pager.py [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#120429) 2024-06-12 19:27:32 +00:00
reader.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
readline.py [3.13] gh-119310: Fix encoding when reading old history file (GH-121779) (#123784) 2024-09-06 16:23:47 +02:00
simple_interact.py [3.13] gh-119034, REPL: Change page up/down keys to search in history (GH-123607) (GH-123773) 2024-09-06 14:04:11 +02:00
trace.py
types.py
unix_console.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00
unix_eventqueue.py
utils.py [3.13] gh-119896: Fix CTRL-Z behavior in the new REPL on Windows (GH-122217) (#122451) 2024-07-30 12:34:22 -07:00
windows_console.py [3.13] gh-120221: Support KeyboardInterrupt in asyncio REPL (GH-123795) (#123799) 2024-09-06 22:25:19 +02:00