Author: Maciej Fijalkowski <[email protected]>
Branch: refactor-signature
Changeset: r50528:9400300d69d3
Date: 2011-12-15 09:53 +0200
http://bitbucket.org/pypy/pypy/changeset/9400300d69d3/

Log:    make viewsignatures always differ

diff --git a/pypy/module/micronumpy/signature.py 
b/pypy/module/micronumpy/signature.py
--- a/pypy/module/micronumpy/signature.py
+++ b/pypy/module/micronumpy/signature.py
@@ -116,9 +116,11 @@
         self.child = child
     
     def eq(self, other):
-        if type(self) is not type(other):
-            return False
-        return self.child.eq(other.child)
+        return False # two views are not identical for now
+        # They would be if steps in all dimensions are equal
+        #if type(self) is not type(other):
+        #    return False
+        #return self.child.eq(other.child)
 
     def hash(self):
         return self.child.hash() ^ 0x12345
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to