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

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


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

In [19]:numpy.__version__

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