summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTal Einat <532281+taleinat@users.noreply.github.com>2021-05-03 02:27:38 (GMT)
committerGitHub <noreply@github.com>2021-05-03 02:27:38 (GMT)
commitb43cc31a270d0dacbc69e35d6c6fbdb5edd7e711 (patch)
treef656c691cf80d2b927037808ea51d4f75ae20a16 /Doc
parent90d523910a61290597b4599f17363b532f0a4411 (diff)
downloadcpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.zip
cpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.tar.gz
cpython-b43cc31a270d0dacbc69e35d6c6fbdb5edd7e711.tar.bz2
bpo-37903: IDLE: add shell sidebar mouse interactions (GH-25708)
Left click and drag to select lines. With selection, right click for context menu with copy and copy-with-prompts. Also add copy-with-prompts to the text-box context menu. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.10.rst26
1 files changed, 26 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.10.rst b/Doc/whatsnew/3.10.rst
index 223ab65..eb452b0 100644
--- a/Doc/whatsnew/3.10.rst
+++ b/Doc/whatsnew/3.10.rst
@@ -994,6 +994,32 @@ hmac
The hmac module now uses OpenSSL's HMAC implementation internally.
(Contributed by Christian Heimes in :issue:`40645`.)
+IDLE and idlelib
+----------------
+
+Make IDLE invoke :func:`sys.excepthook` (when started without '-n').
+User hooks were previously ignored. (Patch by Ken Hilton in
+:issue:`43008`.)
+
+This change was backported to a 3.9 maintenance release.
+
+Add a Shell sidebar. Move the primary prompt ('>>>') to the sidebar.
+Add secondary prompts ('...') to the sidebar. Left click and optional
+drag selects one or more lines of text, as with the editor
+line number sidebar. Right click after selecting text lines displays
+a context menu with 'copy with prompts'. This zips together prompts
+from the sidebar with lines from the selected text. This option also
+appears on the context menu for the text. (Contributed by Tal Einat
+in :issue:`37903`.)
+
+Use spaces instead of tabs to indent interactive code. This makes
+interactive code entries 'look right'. Making this feasible was a
+major motivation for adding the shell sidebar. Contributed by
+Terry Jan Reedy in :issue:`37892`.)
+
+We expect to backport these shell changes to a future 3.9 maintenance
+release.
+
importlib.metadata
------------------