Author: Alex Gaynor <[email protected]>
Branch: numpy-dtype-alt
Changeset: r46672:14131dc7203e
Date: 2011-08-20 14:01 -0500
http://bitbucket.org/pypy/pypy/changeset/14131dc7203e/

Log:    fix translation, you can't call compute_identity_hash n a func ptr

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
@@ -44,10 +44,4 @@
     _immutable_fields_ = ["func"]
 
     def __init__(self, func):
-        self.func = func
-
-    def eq(self, other):
-        return self.func is other.func
-
-    def hash(self):
-        return compute_identity_hash(self.func)
\ No newline at end of file
+        self.func = func
\ No newline at end of file
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to