From: Tony Lownds Date: Tue, 24 Dec 2002 17:21:43 +0000 (+0000) Subject: Move boolcheck before import of other IDLE modules X-Git-Tag: v2.3c1~2886 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b693f8e4fa15c21980da9e0a90d990c35d99a8e0;p=thirdparty%2FPython%2Fcpython.git Move boolcheck before import of other IDLE modules --- diff --git a/Lib/idlelib/PyShell.py b/Lib/idlelib/PyShell.py index 687b5397ad30..f4485bd29206 100644 --- a/Lib/idlelib/PyShell.py +++ b/Lib/idlelib/PyShell.py @@ -18,6 +18,9 @@ from code import InteractiveInterpreter from Tkinter import * import tkMessageBox +# Preserve 2.2 compatibility for Mac OS X: +import boolcheck + from EditorWindow import EditorWindow, fixwordbreaks from FileList import FileList from ColorDelegator import ColorDelegator @@ -29,9 +32,6 @@ import idlever import rpc import RemoteDebugger -# Preserve 2.2 compatibility for Mac OS X: -import boolcheck - IDENTCHARS = string.ascii_letters + string.digits + "_" # Change warnings module to write to sys.__stderr__