[Python-ideas] Add peekline(), peeklines(n) and optional maxlines argument to readlines()

John O'Connor jxo6948 at rit.edu
Fri Sep 30 18:13:33 CEST 2011


> Some time ago I proposed a general prefetch() method that would allow
> easy protocol-specific buffering on top of non-seekable streams

There is also the issue for it here http://bugs.python.org/issue12053.

- John



More information about the Python-ideas mailing list