Hello,

I guess this maybe "normal" but it breaks a lot of thing when conterting 
from Numeric

 >>> a=numpy.ones(5,dtype=numpy.float32)
 >>> isinstance(a[0],float)
False
 >>>

float64 works...

I can see why one could argue for returning False, but then the 
converter might be too zealous
things that used to work like:
if type(item) in [types.IntType, types.FloatType]:

or:

 isinstance(item, types.FloatType)

now fail,

should we be concerned? should we consider returning True ?

Thanks,

C.

_______________________________________________
Numpy-discussion mailing list
Numpy-discussion@scipy.org
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to