[SciPy-dev] Nested arrays

Travis Oliphant oliphant.travis at ieee.org
Fri Jan 13 21:26:44 CST 2006


Sasha wrote:

>>It would be literally one-line of code to turn off the returning of the
>>hybrid object arrays, so I would not hesitate to do it and then see what
>>kind of complaints we get :-)
>>    
>>
>
>Is this intended?
>  
>
I did turn off returning hybrid object arrays as a trial run to see what 
would happen...

>  
>
>>>>type(array(1.0).astype(object))
>>>>        
>>>>
><type 'float'>
>
>Breaks printing of ma zero rank arrays:
>  
>
There's our first complaint about returning object arrays.  Can the 
masked array printing be fixed?

-Travis




More information about the Scipy-dev mailing list