[pypy-svn] pypy default: revert changes that were commited by mistake in d7b6bd1b8284
antocuni
commits-noreply at bitbucket.org
Tue Apr 19 13:10:14 CEST 2011
Author: Antonio Cuni <anto.cuni at gmail.com>
Branch:
Changeset: r43476:c454f733a67b
Date: 2011-04-19 13:09 +0200
http://bitbucket.org/pypy/pypy/changeset/c454f733a67b/
Log: revert changes that were commited by mistake in d7b6bd1b8284
diff --git a/lib-python/2.7.0/idlelib/ColorDelegator.py b/lib-python/2.7.0/idlelib/ColorDelegator.py
--- a/lib-python/2.7.0/idlelib/ColorDelegator.py
+++ b/lib-python/2.7.0/idlelib/ColorDelegator.py
@@ -6,7 +6,7 @@
from idlelib.Delegator import Delegator
from idlelib.configHandler import idleConf
-DEBUG = True
+DEBUG = False
def any(name, alternates):
"Return a named group pattern matching list of alternates."
@@ -89,7 +89,6 @@
colorizing = False
def notify_range(self, index1, index2=None):
- print 'notify_range'
self.tag_add("TODO", index1, index2)
if self.after_id:
if DEBUG: print "colorizing already scheduled"
diff --git a/lib-python/2.7.0/idlelib/Delegator.py b/lib-python/2.7.0/idlelib/Delegator.py
--- a/lib-python/2.7.0/idlelib/Delegator.py
+++ b/lib-python/2.7.0/idlelib/Delegator.py
@@ -6,9 +6,6 @@
self.delegate = delegate
self.__cache = {}
- def __nonzero__(self):
- return True
-
def __getattr__(self, name):
attr = getattr(self.delegate, name) # May raise AttributeError
setattr(self, name, attr)
More information about the Pypy-commit
mailing list