diff options
author | Roger Serwy <roger.serwy@gmail.com> | 2013-03-31 20:53:08 (GMT) |
---|---|---|
committer | Roger Serwy <roger.serwy@gmail.com> | 2013-03-31 20:53:08 (GMT) |
commit | 420e2d8e39633448d40a25413bce55f6be482d6b (patch) | |
tree | ff0654fb23ad34292a46b990828228cefa7ea34b | |
parent | 7a03e2d37735df858fde31079e21f64b88e00224 (diff) | |
download | cpython-420e2d8e39633448d40a25413bce55f6be482d6b.zip cpython-420e2d8e39633448d40a25413bce55f6be482d6b.tar.gz cpython-420e2d8e39633448d40a25413bce55f6be482d6b.tar.bz2 |
#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
-rw-r--r-- | Lib/idlelib/MultiCall.py | 5 | ||||
-rw-r--r-- | Misc/NEWS | 3 |
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 @@ -15,6 +15,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 |