[Numpy-discussion] Different attributes for NumPy types

Travis E. Oliphant oliphant@enthought....
Thu May 22 10:24:58 CDT 2008


Bruce Southey wrote:
> Hi,
> Is it bug if different NumPy types have different attributes?
>   
I don't think so, other than perhaps we should not have the Python types 
in the numpy namespace.

numpy.float is just __builtin__.float   which is a Python type not a 
NumPy data-type object.

numpy.float64 inherits from numpy.float however.

-Travis




More information about the Numpy-discussion mailing list