[NumPy-Tickets] [NumPy] #1616: numpy.loadtxt uses both file-like and iterator interfaces instead of just one

NumPy Trac numpy-tickets@scipy....
Sun Apr 3 11:53:12 CDT 2011


#1616: numpy.loadtxt uses both file-like and iterator interfaces instead of just
one
-------------------------+--------------------------------------------------
 Reporter:  zachrahan    |       Owner:  somebody    
     Type:  enhancement  |      Status:  needs_review
 Priority:  normal       |   Milestone:  1.6.0       
Component:  Other        |     Version:  devel       
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by charris):

 Since iter(file) works like readline, this code can be simplified. Note
 that one could do various things, skip lines, limit number of rows, etc.,
 by constructing appropriate iterators.

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


More information about the NumPy-Tickets mailing list