Commit cadd7864 authored by Roger Serwy's avatar Roger Serwy

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

parent e4059462
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment