From: Terry Jan Reedy Date: Mon, 3 Aug 2015 22:34:07 +0000 (-0400) Subject: Issue #24759: Revert 8203fc75b3d2. X-Git-Tag: v2.7.11rc1~204 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1d8b7be33316619083a7189f2cdd70fb071c14d0;p=thirdparty%2FPython%2Fcpython.git Issue #24759: Revert 8203fc75b3d2. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index a35832d42759..6c2ff5b42885 100755 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -23,16 +23,6 @@ except ImportError: "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