[SciPy-user] Trial run of object arrays returning the objects and *not* object array scalars

Travis Oliphant oliphant.travis at ieee.org
Wed Jan 11 03:58:57 CST 2006


In SVN there is a version of numpy that does not return object array 
scalars when using object arrays.  The machinery for object array 
scalars is still there for now in case we decide that it is actually 
useful (it's a simple change to go back to them).

The down side is that object arrays now do not follow the rule that 
items selected from them have the methods and attributes of arrays.  The 
up-side is that now you don't have to use .item() to get to the actually 
object you stored in the object array.

Waiting to hear which side complains the loudest....

-Travis




More information about the SciPy-user mailing list