mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Keybindings with the Shift modifier now work correctly. So do bindings
which use the Space key. Limit unmodified user keybindings to the function keys. Python Bug 775353, IDLEfork Bugs 755647, 761557 Improve error handling during startup if there's no Tkinter. M NEWS.txt M PyShell.py M config-keys.def M configHandler.py M keybindingDialog.py Backport candidate.
This commit is contained in:
parent
5f4e45d66f
commit
2303b1c19a
5 changed files with 83 additions and 74 deletions
|
@ -16,7 +16,12 @@ import exceptions
|
|||
import linecache
|
||||
from code import InteractiveInterpreter
|
||||
|
||||
from Tkinter import *
|
||||
try:
|
||||
from Tkinter import *
|
||||
except ImportError:
|
||||
print>>sys.__stderr__, "** IDLE can't import Tkinter. " \
|
||||
"Your Python may not be configured for Tk. **"
|
||||
sys.exit(1)
|
||||
import tkMessageBox
|
||||
|
||||
from EditorWindow import EditorWindow, fixwordbreaks
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue