#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
This commit is contained in:
parent
e4059462f2
commit
cadd7864d8
|
@ -171,8 +171,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
|
||||||
|
|
|
@ -12,6 +12,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 #17526: fix an IndexError raised while passing code without filename to
|
- Issue #17526: fix an IndexError raised while passing code without filename to
|
||||||
|
|
Loading…
Reference in New Issue