Author: Brian Kearns <[email protected]>
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__)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit