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 | cadd7864d88239d7ed58611b28e8dc48ff70b49c (patch) | |
tree | f915d5eff1ea5e8a3bc40a49ebb481bc8c83d1f7 | |
parent | e4059462f2c5ad0259fae54208b79043a395b085 (diff) | |
download | cpython-cadd7864d88239d7ed58611b28e8dc48ff70b49c.zip cpython-cadd7864d88239d7ed58611b28e8dc48ff70b49c.tar.gz cpython-cadd7864d88239d7ed58611b28e8dc48ff70b49c.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 b81c5ed..b032a65 100644 --- a/Lib/idlelib/MultiCall.py +++ b/Lib/idlelib/MultiCall.py @@ -171,8 +171,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 @@ -12,6 +12,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 #17526: fix an IndexError raised while passing code without filename to |