Lazy "for line in f" ?

Alexandre Ferrieux alexandre.ferrieux at
Mon Jul 23 09:59:49 CEST 2007

On Jul 23, 9:36 am, Paul Rubin <http://phr...@NOSPAM.invalid> wrote:
> Alexandre Ferrieux <alexandre.ferri... at> writes:
> > So I'll reiterate the question: *why* does the Python library add that
> > extra layer of (hard-headed) buffering on top of stdio's ?
> readline?

I know readline() doesn't have this problem. I'm asking why the file
iterator does.


More information about the Python-list mailing list