Author: Maciej Fijalkowski <[email protected]>
Branch:
Changeset: r58482:22ec69c6b15d
Date: 2012-10-26 22:50 +0200
http://bitbucket.org/pypy/pypy/changeset/22ec69c6b15d/
Log: mark this as unroll safe - it's going to be almost always constant-
folded away
diff --git a/pypy/module/micronumpy/interp_ufuncs.py
b/pypy/module/micronumpy/interp_ufuncs.py
--- a/pypy/module/micronumpy/interp_ufuncs.py
+++ b/pypy/module/micronumpy/interp_ufuncs.py
@@ -413,6 +413,7 @@
return interp_dtype.get_dtype_cache(space).builtin_dtypes[dtypenum]
[email protected]_safe
def find_unaryop_result_dtype(space, dt, promote_to_float=False,
promote_bools=False, promote_to_largest=False, allow_complex=True):
if promote_bools and (dt.kind == interp_dtype.BOOLLTR):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit