Thu, 19 May 2011 12:36:22 +0100, Mark Dickinson wrote:
[clip]
>>>> from numpy import array
>>>> x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)])
>>>> x.astype(object)
> array(1.2, dtype=object)
>
> Was this change intentional, or should I file a bug?  I couldn't find
> any reference to it in the changelog or release notes.

Looks like a bug -- the change was not intentional.

-- 
Pauli Virtanen

_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to