From: Terry Jan Reedy Date: Mon, 3 Aug 2015 22:34:22 +0000 (-0400) Subject: Issue #24759: Revert 13a8782a775e. X-Git-Tag: v3.5.0rc1~44^2^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2f7de53993ebb3a7271f35a4160a2ac8b7a1d142;p=thirdparty%2FPython%2Fcpython.git Issue #24759: Revert 13a8782a775e. --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 4f7a6de5ea39..3869d45eafad 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 tkinter.messagebox as tkMessageBox -try: - from tkinter 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