Author: Alex Gaynor <[email protected]>
Branch: numpy-dtype-alt
Changeset: r46628:2b1df092d851
Date: 2011-08-19 00:38 -0500
http://bitbucket.org/pypy/pypy/changeset/2b1df092d851/
Log: kill this code, translation gets even farther now, I suppose it'll
just crash, but that's kind-of-ok
diff --git a/pypy/module/micronumpy/interp_dtype.py
b/pypy/module/micronumpy/interp_dtype.py
--- a/pypy/module/micronumpy/interp_dtype.py
+++ b/pypy/module/micronumpy/interp_dtype.py
@@ -100,16 +100,6 @@
def str_format(self, item):
return str(self.unbox(item))
- def _unimplemented_binop(self, v1, v2):
- self.unbox(v1)
- self.unbox(v2)
- raise NotImplementedError
- def _unimplemented_unaryop(self, v):
- self.unbox(v)
- raise NotImplementedError
- add = sub = mul = dev = mod = pow = max = min = copysign = ne =
_unimplemented_binop
- pos = neg = abs = sign = reciprocal = fabs = floor = exp = sin = cos =
tan = arcsin = arccos = arctan = bool = _unimplemented_unaryop
-
W_LowLevelDtype.__name__ = "W_%sDtype" % name.capitalize()
W_LowLevelDtype.num = num
W_LowLevelDtype.kind = kind
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit