[SciPy-dev] PyArray_CanCastSafely(exact,inexact) on 64-bit

Pearu Peterson pearu at scipy.org
Sun Oct 30 22:40:35 CST 2005

After fixing the usage of PyArray_CanCastSafely, now all scipy tests, 
except one, are succesfull on a 64-bit machine:

ERROR: check_integer 
Traceback (most recent call last):
line 62, in check_integer
     b = io.read_array(fname,atype=N.Int)
   File "/usr/local/lib/python2.3/site-packages/scipy/io/array_import.py", 
line 359, in read_array
     raise ValueError, "One of the array types is invalid, k=%d" % k
ValueError: One of the array types is invalid, k=0

Ran 1334 tests in 57.772s

FAILED (errors=1)


More information about the Scipy-dev mailing list