mirror of https://github.com/python/cpython
#8900: Using keyboard shortcuts in IDLE to open a file no longer raises an exception.
This commit is contained in:
parent
7a03e2d377
commit
420e2d8e39
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue