]> granicus.if.org Git - python/commitdiff
Backport of Issue #14409 to 2.7
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 29 Mar 2012 16:54:58 +0000 (19:54 +0300)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 29 Mar 2012 16:54:58 +0000 (19:54 +0300)
IDLE doesn't not execute commands from shell with default keybinding
for <Return>.
Patch by Roger Serwy.

Lib/idlelib/NEWS.txt
Lib/idlelib/configHandler.py
Misc/NEWS

index 205b9f3b48e8d503dd67327d4b1bd7bee6565f8d..ae230e804738f5672b6cc532bf3d4eeb536c7f79 100644 (file)
@@ -1,6 +1,9 @@
 What's New in IDLE 2.7.3?
 =======================
 
+- Issue #14409: IDLE doesn't not execute commands from shell,
+  error with default keybinding for Return. (Patch by Roger Serwy)
+
 - Issue #3573: IDLE hangs when passing invalid command line args
   (directory(ies) instead of file(s)).
 
index 73487d56f31ad2e4cda53ebe2530f0ae317b71d1..dd13a0e7334e696b03b6ff41554d5567caf14a04 100644 (file)
@@ -595,7 +595,7 @@ class IdleConf:
             '<<replace>>': ['<Control-h>'],
             '<<goto-line>>': ['<Alt-g>'],
             '<<smart-backspace>>': ['<Key-BackSpace>'],
-            '<<newline-and-indent>>': ['<Key-Return> <Key-KP_Enter>'],
+            '<<newline-and-indent>>': ['<Key-Return>', '<Key-KP_Enter>'],
             '<<smart-indent>>': ['<Key-Tab>'],
             '<<indent-region>>': ['<Control-Key-bracketright>'],
             '<<dedent-region>>': ['<Control-Key-bracketleft>'],
index f8190298dbe4ded92b06770468c44608499d5b5a..08215ac6da3702970c31df1d2b1bdadf0cd44605 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -35,6 +35,9 @@ Core and Builtins
 Library
 -------
 
+- Issue #14409: IDLE doesn't not execute commands from shell,
+  error with default keybinding for Return. (Patch by Roger Serwy)
+
 - Issue #10340: asyncore - properly handle EINVAL in dispatcher constructor on
   OSX; avoid to call handle_connect in case of a disconnected socket which
   was not meant to connect.