[NumPy-Tickets] [NumPy] #1116: Fromstring returns wrong result for empty text strings.

NumPy Trac numpy-tickets@scipy....
Thu Mar 24 15:35:16 CDT 2011


#1116: Fromstring returns wrong result for empty text strings.
---------------------------------------+------------------------------------
 Reporter:  charris                    |       Owner:  somebody   
     Type:  defect                     |      Status:  new        
 Priority:  normal                     |   Milestone:  Unscheduled
Component:  numpy.core                 |     Version:             
 Keywords:  fromstring malformed data  |  
---------------------------------------+------------------------------------

Comment(by mwiebe):

 False alarm, it doesn't segfault. The behavior is slightly different
 though:

 {{{
 >>> np.fromstring("", sep=" ")
 array([-1.])
 }}}

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


More information about the NumPy-Tickets mailing list