[Numpy-tickets] [NumPy] #298: lexsort segfault sorting strings

NumPy numpy-tickets at scipy.net
Thu Sep 28 07:50:28 CDT 2006

#298: lexsort segfault sorting strings
 Reporter:  ericjones   |        Owner:  somebody
     Type:  defect      |       Status:  closed  
 Priority:  normal      |    Milestone:          
Component:  numpy.core  |      Version:          
 Severity:  major       |   Resolution:  fixed   
 Keywords:              |  
Changes (by oliphant):

  * status:  new => closed
  * resolution:  => fixed


 Thanks for the test.   The argsort for strings and unicode using the merge
 sort was cut-and-pasted from the code for fixed-size data-types.  The
 length of the string wasn't being used at all correctly for indexing into
 the array.

 This has been fixed in SVN r3229.

Ticket URL: <http://projects.scipy.org/scipy/numpy/ticket/298>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.

More information about the Numpy-tickets mailing list