[Numpy-tickets] [NumPy] #757: numpy.sort sometimes doesn't handle strings right

NumPy numpy-tickets@scipy....
Fri Apr 25 02:30:23 CDT 2008


#757: numpy.sort sometimes doesn't handle strings right
--------------------+-------------------------------------------------------
 Reporter:  jloper  |        Owner:  somebody
     Type:  defect  |       Status:  closed  
 Priority:  normal  |    Milestone:          
Component:  Other   |      Version:  devel   
 Severity:  normal  |   Resolution:  fixed   
 Keywords:          |  
--------------------+-------------------------------------------------------
Changes (by charris):

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

Comment:

 This has been fixed in svn for a while. You need to update.


 {{{
 In [1]:
 numpy.sort(numpy.array(['\x01\x00\x02','\x01\x00\x04','\x01\x00\x02']))
 Out[1]:
 array(['\x01\x00\x02', '\x01\x00\x02', '\x01\x00\x04'],
       dtype='|S3')

 }}}

-- 
Ticket URL: <http://scipy.org/scipy/numpy/ticket/757#comment:1>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.


More information about the Numpy-tickets mailing list