summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
diff options
context:
space:
mode:
authorƁukasz Langa <lukasz@langa.pl>2024-09-06 19:28:29 (GMT)
committerGitHub <noreply@github.com>2024-09-06 19:28:29 (GMT)
commit033510e11dff742d9626b9fd895925ac77f566f1 (patch)
tree312afe4e65696542145747bc525868fb1816a7d6 /Misc/NEWS.d/next
parent0c080d7c77d826c1afab7bd6b73f61e714cffcb7 (diff)
downloadcpython-033510e11dff742d9626b9fd895925ac77f566f1.zip
cpython-033510e11dff742d9626b9fd895925ac77f566f1.tar.gz
cpython-033510e11dff742d9626b9fd895925ac77f566f1.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS.d/next')
-rw-r--r--Misc/NEWS.d/next/Core_and_Builtins/2024-09-06-19-23-44.gh-issue-120221.giJEDT.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core_and_Builtins/2024-09-06-19-23-44.gh-issue-120221.giJEDT.rst b/Misc/NEWS.d/next/Core_and_Builtins/2024-09-06-19-23-44.gh-issue-120221.giJEDT.rst
new file mode 100644
index 0000000..c562b87
--- /dev/null
+++ b/Misc/NEWS.d/next/Core_and_Builtins/2024-09-06-19-23-44.gh-issue-120221.giJEDT.rst
@@ -0,0 +1,2 @@
+asyncio REPL is now again properly recognizing KeyboardInterrupts. Display
+of exceptions raised in secondary threads is fixed.