[pypy-commit] pypy default: Backed out changeset 3e3897b5cbd0

bdkearns noreply at buildbot.pypy.org
Fri Oct 25 04:55:38 CEST 2013


Author: Brian Kearns <bdkearns at gmail.com>
Branch: 
Changeset: r67591:e7dec9b071db
Date: 2013-10-24 22:54 -0400
http://bitbucket.org/pypy/pypy/changeset/e7dec9b071db/

Log:	Backed out changeset 3e3897b5cbd0

diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py
--- a/rpython/rtyper/lltypesystem/lltype.py
+++ b/rpython/rtyper/lltypesystem/lltype.py
@@ -101,8 +101,8 @@
             if self is other:
                 return True
             try:
-                if hash(self) == hash(other):
-                    return True
+                if hash(self) != hash(other):
+                    return False
             except TypeError:
                 pass # too bad, we can't use a fastpath here
             return safe_equal(self.__dict__, other.__dict__)


More information about the pypy-commit mailing list