On Thu, May 19, 2011 at 6:59 AM, Pauli Virtanen p...@iki.fi wrote:
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
On Sat, May 21, 2011 at 9:25 PM, Mark Wiebe mwwi...@gmail.com wrote:
On Thu, May 19, 2011 at 6:59 AM, Pauli Virtanen p...@iki.fi wrote:
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)])
With numpy 1.5.1:
Python 2.7.1 |EPD 7.0-2 (32-bit)| (r271:86832, Dec 3 2010, 15:41:32)
[GCC 4.0.1 (Apple Inc. build 5488)] on darwin
Type help, copyright, credits or license for more information.
from numpy import array
x = array((1.2, 2.3), dtype=[('field1', float), ('field2', float)])
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