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

NumPy Trac numpy-tickets@scipy....
Sat Mar 5 10:14:52 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):

 It also does this for slices:


 {{{
 In [8]: array(arr[::2], dtype="|S3")
 Out[8]:
 array(['1', '\x00\x001', '23'],
       dtype='|S3')

 }}}

 So the slicing is ignored.

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


More information about the NumPy-Tickets mailing list