changeset: 97224:0511b1165bb6 branch: 2.7 parent: 97212:2e635a0e0207 user: Terry Jan Reedy date: Mon Aug 03 18:34:07 2015 -0400 files: Lib/idlelib/PyShell.py description: Issue #24759: Revert 8203fc75b3d2. diff -r 2e635a0e0207 -r 0511b1165bb6 Lib/idlelib/PyShell.py --- a/Lib/idlelib/PyShell.py Sun Aug 02 12:15:30 2015 -0700 +++ b/Lib/idlelib/PyShell.py Mon Aug 03 18:34:07 2015 -0400 @@ -23,16 +23,6 @@ "Your Python may not be configured for Tk. **", file=sys.__stderr__) sys.exit(1) import tkMessageBox -try: - import ttk -except: - root = Tk() - root.withdraw() - tkMessageBox.showerror("Idle Cannot Start", - "Idle now requires the Tkinter ttk module from tcl/tk 8.5+.\n" - + "It found tk %s and no ttk." % TkVersion, - parent=root) - sys.exit(1) from idlelib.EditorWindow import EditorWindow, fixwordbreaks from idlelib.FileList import FileList