[Python-Dev] xreadlines : readlines :: xrange : range

Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 2 Jan 2001 16:52:58 -0600 (CST)


    Guido> I'm slowly warming up to xreadlines(), ...

I haven't followed this thread closely, and my brain is a bit frazzled at
the moment, but is there some fundamental reason that the file object's
readlines method can't be made lazy, perhaps only when given a sizehint?

Skip