[Python-checkins] cpython (merge default -> default): Merge heads.

roger.serwy python-checkins at python.org
Sun Mar 31 23:13:25 CEST 2013


http://hg.python.org/cpython/rev/7a3cafe49592
changeset:   83047:7a3cafe49592
parent:      83043:58fcd81acfb1
parent:      83046:6ad256175971
user:        Roger Serwy <roger.serwy at gmail.com>
date:        Sun Mar 31 16:11:51 2013 -0500
summary:
  Merge heads.

files:
  Lib/idlelib/MultiCall.py |  5 +++--
  Misc/NEWS                |  3 +++
  2 files changed, 6 insertions(+), 2 deletions(-)


diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py
--- a/Lib/idlelib/MultiCall.py
+++ b/Lib/idlelib/MultiCall.py
@@ -170,8 +170,9 @@
                     break
             ishandlerrunning[:] = []
             # Call all functions in doafterhandler and remove them from list
-            while doafterhandler:
-                doafterhandler.pop()()
+            for f in doafterhandler:
+                f()
+            doafterhandler[:] = []
             if r:
                 return r
         return handler
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -297,6 +297,9 @@
 Library
 -------
 
+- Issue #8900: Using keyboard shortcuts in IDLE to open a file no longer 
+  raises an exception.
+
 - Issue #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
 
 - Issue #17435: threading.Timer's __init__ method no longer uses mutable

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


More information about the Python-checkins mailing list