comparison Lib/idlelib/PyShell.py @ 31839:4c06f4faed87 2.3

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
author Kurt B. Kaiser <kbk@shore.net>
date Tue, 30 Mar 2004 04:07:00 +0000
parents f4b4bf7e87d7
children 7e7273c8d21e
comparison
equal deleted inserted replaced
31838:677c0bf05735 31839:4c06f4faed87
14 import exceptions 14 import exceptions
15 15
16 import linecache 16 import linecache
17 from code import InteractiveInterpreter 17 from code import InteractiveInterpreter
18 18
19 from Tkinter import * 19 try:
20 from Tkinter import *
21 except ImportError:
22 print>>sys.__stderr__, "** IDLE can't import Tkinter. " \
23 "Your Python may not be configured for Tk. **"
24 sys.exit(1)
20 import tkMessageBox 25 import tkMessageBox
21 26
22 from EditorWindow import EditorWindow, fixwordbreaks 27 from EditorWindow import EditorWindow, fixwordbreaks
23 from FileList import FileList 28 from FileList import FileList
24 from ColorDelegator import ColorDelegator 29 from ColorDelegator import ColorDelegator