#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.

This commit is contained in:
Roger Serwy 2013-03-31 15:53:08 -05:00
parent 7a03e2d377
commit 420e2d8e39
2 changed files with 6 additions and 2 deletions

View File

@ -170,8 +170,9 @@ class _ComplexBinder:
break break
ishandlerrunning[:] = [] ishandlerrunning[:] = []
# Call all functions in doafterhandler and remove them from list # Call all functions in doafterhandler and remove them from list
while doafterhandler: for f in doafterhandler:
doafterhandler.pop()() f()
doafterhandler[:] = []
if r: if r:
return r return r
return handler return handler

View File

@ -15,6 +15,9 @@ Core and Builtins
Library 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 #6649: Fixed missing exit status in IDLE. Patch by Guilherme Polo.
- Issue #17435: threading.Timer's __init__ method no longer uses mutable - Issue #17435: threading.Timer's __init__ method no longer uses mutable