cpython (3.3): #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an
http://hg.python.org/cpython/rev/61092bbd1464 changeset: 83045:61092bbd1464 branch: 3.3 parent: 83041:96776fc3cbcc user: Roger Serwy <roger.serwy@gmail.com> date: Sun Mar 31 15:53:08 2013 -0500 summary: #8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception. 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 @@ -15,6 +15,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
participants (1)
-
roger.serwy