[Numpy-discussion] Problems with creating arrays from array descriptors and lists

Francesc Altet faltet at carabos.com
Mon Jan 30 00:57:02 EST 2006


Hi,

I think this worked some time ago, but I cannot tell for sure:

In [19]:numpy.__version__
Out[19]:'0.9.5.1980'

In [20]:numpy.array([1,1], dtype=[('f1', 'i8'),('f2','i4')])
---------------------------------------------------------------------------
exceptions.TypeError                                 Traceback (most
recent call last)

/home/faltet/<ipython console>

TypeError: expected a readable buffer object

Sorry, I cannot check with latest SVN because it segfaults.

-- 
>0,0<   Francesc Altet     http://www.carabos.com/
V   V   Cárabos Coop. V.   Enjoy Data
 "-"






More information about the NumPy-Discussion mailing list