Author: mattip <[email protected]>
Branch: missing-ndarray-attributes
Changeset: r60221:c158cea62fa8
Date: 2013-01-20 00:20 +0200
http://bitbucket.org/pypy/pypy/changeset/c158cea62fa8/
Log: why is this needed?
diff --git a/pypy/rlib/rarithmetic.py b/pypy/rlib/rarithmetic.py
--- a/pypy/rlib/rarithmetic.py
+++ b/pypy/rlib/rarithmetic.py
@@ -132,6 +132,7 @@
return r_longlonglong(n)
def widen(n):
+ assert not isinstance(n, r_longfloat)
from pypy.rpython.lltypesystem import lltype
if _should_widen_type(lltype.typeOf(n)):
return intmask(n)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit