Commit 2931bbb5 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

Remove the 2.2 compatibility module boolcheck.py and related code

M PyShell.py
R boolcheck.py
M run.py
parent 50afe6d9
...@@ -19,9 +19,6 @@ from code import InteractiveInterpreter ...@@ -19,9 +19,6 @@ from code import InteractiveInterpreter
from Tkinter import * from Tkinter import *
import tkMessageBox import tkMessageBox
# Preserve 2.2 compatibility for Mac OS X:
import boolcheck
from EditorWindow import EditorWindow, fixwordbreaks from EditorWindow import EditorWindow, fixwordbreaks
from FileList import FileList from FileList import FileList
from ColorDelegator import ColorDelegator from ColorDelegator import ColorDelegator
......
"boolcheck - import this module to ensure True, False, bool() builtins exist."
try:
True
except NameError:
import __builtin__
__builtin__.True = 1
__builtin__.False = 0
from operator import truth
__builtin__.bool = truth
...@@ -7,8 +7,6 @@ import thread ...@@ -7,8 +7,6 @@ import thread
import threading import threading
import Queue import Queue
import boolcheck
import CallTips import CallTips
import RemoteDebugger import RemoteDebugger
import RemoteObjectBrowser import RemoteObjectBrowser
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment