[NumPy-Tickets] [NumPy] #1597: loadtxt gets stuck on empty files

NumPy Trac numpy-tickets@scipy....
Wed Sep 1 10:25:09 CDT 2010


#1597: loadtxt gets stuck on empty files
---------------------+------------------------------------------------------
 Reporter:  ctmedra  |       Owner:  somebody
     Type:  defect   |      Status:  new     
 Priority:  normal   |   Milestone:  2.0.0   
Component:  Other    |     Version:  1.2.1   
 Keywords:  loadtxt  |  
---------------------+------------------------------------------------------
 I have found that loadtxt gets stuck on empty files.
 My numpy.__version__  is  '1.2.1'

 For instance:

 In [1]: import numpy

 In [2]: fp=open('foo.dat','w')

 In [3]: fp.close()

 In [4]: numpy.loadtxt('foo.dat')

 then I wait with no answer.

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1597>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list