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

Paul Prescod paulp@ActiveState.com
Tue, 02 Jan 2001 19:34:59 -0800


Skip Montanaro wrote:
> 
>...
> 
> I presume we are talking about 2.1 here.  In any case, it seems to me that
> in Py3k readlines should be lazy.

I agree, but I'm ambivalent about your suggestion for polymorphic return
values from readlines(). Yet another option is a "lazy=1" option.

 Paul Prescod