[Python-checkins] cpython (merge 2.7 -> 2.7): branch merge.

senthil.kumaran python-checkins at python.org
Thu Mar 17 07:50:02 CET 2011


http://hg.python.org/cpython/rev/1148131b1099
changeset:   68643:1148131b1099
branch:      2.7
parent:      68642:6cd7de9deb1a
parent:      68639:664a129c01f7
user:        Senthil Kumaran <orsenthil at gmail.com>
date:        Thu Mar 17 14:43:21 2011 +0800
summary:
  branch merge.

files:
  

diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -307,9 +307,9 @@
         return "break"
 
     def home_callback(self, event):
-        if (event.state & 12) != 0 and event.keysym == "Home":
-            # state&1==shift, state&4==control, state&8==alt
-            return # <Modifier-Home>; fall back to class binding
+        if (event.state & 4) != 0 and event.keysym == "Home":
+            # state&4==Control. If <Control-Home>, use the Tk binding.
+            return
 
         if self.text.index("iomark") and \
            self.text.compare("iomark", "<=", "insert lineend") and \
diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt
--- a/Lib/idlelib/NEWS.txt
+++ b/Lib/idlelib/NEWS.txt
@@ -1,3 +1,10 @@
+What's New in IDLE 2.7.2?
+=======================
+
+*Release date: XX-XX-XXXX*
+
+- <Home> toggle non-functional when NumLock set on Windows.  Issue3851.
+
 What's New in IDLE 2.7?
 =======================
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list