[NumPy-Tickets] [NumPy] #1756: Segfault when recasting string arrays

NumPy Trac numpy-tickets@scipy....
Sat Mar 5 10:34:14 CST 2011


#1756: Segfault when recasting string arrays
--------------------+-------------------------------------------------------
 Reporter:  faltet  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  devel      
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by charris):

 Same problem with void types.


 {{{
 In [12]: arr.view("V5")
 Out[12]:
 array([1, 12, 123, 1234, 12345],
       dtype='|V5')

 In [13]: array(arr.view("V5"), dtype="V3")
 Out[13]:
 array([1, 1, 2, 12, 3],
       dtype='|V3')

 }}}

 So I expect these can all be fixed together in the conversion loops.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1756#comment:4>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list