summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoger Serwy <roger.serwy@gmail.com>2013-03-31 20:56:02 (GMT)
committerRoger Serwy <roger.serwy@gmail.com>2013-03-31 20:56:02 (GMT)
commit6d5bfad54595dca63df93d7d6e0122226557ece8 (patch)
tree56a88289f80719474ca7d4533872a1c7e9614fdf
parentf61d07903e32698f48ad54963af4452d4ff7f242 (diff)
parent420e2d8e39633448d40a25413bce55f6be482d6b (diff)
downloadcpython-6d5bfad54595dca63df93d7d6e0122226557ece8.zip
cpython-6d5bfad54595dca63df93d7d6e0122226557ece8.tar.gz
cpython-6d5bfad54595dca63df93d7d6e0122226557ece8.tar.bz2
#8900: merge with 3.3.
-rw-r--r--Lib/idlelib/MultiCall.py5
-rw-r--r--Misc/NEWS3
2 files changed, 6 insertions, 2 deletions
diff --git a/Lib/idlelib/MultiCall.py b/Lib/idlelib/MultiCall.py
index 47f402d..64729ea 100644
--- a/Lib/idlelib/MultiCall.py
+++ b/Lib/idlelib/MultiCall.py
@@ -170,8 +170,9 @@ class _ComplexBinder:
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
index 03b3c4f..3472151 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -297,6 +297,9 @@ Core and Builtins
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