[Numpy-discussion] Segfaults when trying to build an array using the description in array protocol

Francesc Altet faltet at carabos.com
Sun Jan 29 22:38:01 EST 2006


Hi,

Apparently something wrong went in latest version of numpy SVN:

In [4]:numpy.__version__
Out[4]:'0.9.5.2021'

In [5]:numpy.empty((1,), dtype='i8')
Out[5]:array([-5193749191705487200], dtype=int64)

In [6]:numpy.empty((1,), dtype=[('p', 'i8')])
Segmentation fault

This usually worked well with older versions:

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

In [8]:numpy.empty((1,), dtype=[('p', 'i8')])
Out[8]:array([(-5192306666809247592L,)], dtype=(void,8))

BTW, which is the recommended way to report that sort of things, the
list or the Trac interface for SVN numpy? I'd like to start using the
second, but I haven't manage to create a user for reporting issues.

Thanks,

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






More information about the NumPy-Discussion mailing list