[Numpy-tickets] [NumPy] #908: Infinite loop in loadtxt of empty file

NumPy numpy-tickets@scipy....
Tue Sep 9 06:25:12 CDT 2008


#908: Infinite loop in loadtxt of empty file
--------------------+-------------------------------------------------------
 Reporter:  pv      |       Owner:  somebody
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  1.3.0   
Component:  Other   |     Version:  none    
 Severity:  normal  |    Keywords:          
--------------------+-------------------------------------------------------
 loadtxt enters an infinite loop when one attempts to load an empty file:
 {{{
 $ > foo.dat
 $ python -c 'import numpy; print numpy.__version__;
 numpy.loadtxt("foo.dat")'
 1.1.1
 [... does not terminate ...]
 }}}

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


More information about the Numpy-tickets mailing list