[issue5811] io.BufferedReader.peek(): Documentation differs from Implementation

Lucas Prado Melo report at bugs.python.org
Sat Jun 13 14:37:38 CEST 2009


Lucas Prado Melo <lukepadawan at gmail.com> added the comment:

We could fill the buffer while moving its start point to 0. I guess this
behavior would require a new function (or a new parameter to
Modules/_io/bufferedio.c:_bufferedreader_fill_buffer() ).
If you are ok with that I could write a patch.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5811>
_______________________________________


More information about the Python-bugs-list mailing list