[NumPy-Tickets] [NumPy] #1598: Segfault when changing the filed names of an structured array
NumPy Trac
numpy-tickets@scipy....
Mon Sep 13 04:07:01 CDT 2010
#1598: Segfault when changing the filed names of an structured array
------------------------+---------------------------------------------------
Reporter: faltet | Owner: somebody
Type: defect | Status: new
Priority: normal | Milestone: Unscheduled
Component: numpy.core | Version:
Keywords: |
------------------------+---------------------------------------------------
Comment(by pierregm):
Confirmed, but it's a bit more complex than that:
{{{
>>> a=np.array(zip((1,2,3),(1,2,3)),dtype=[('a',int),('b',float)])
>>> a.dtype.names = ('a','c')
>>> a
array([(1, 1.0), (2, 2.0), (3, 3.0)],
dtype=[('a', '<i8'), ('c', '<f8')])
}}}
So, it looks like the segfault shows up when renaming a field by the name
of another existing field.
--
Ticket URL: <http://projects.scipy.org/numpy/ticket/1598#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project
More information about the NumPy-Tickets
mailing list