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

Antoine Pitrou report at bugs.python.org
Sat Jun 13 14:40:19 CEST 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

We could, however, enforce the passed argument and only return the whole
remaining buffer when no argument is given. This is a bit like Frederick
Reeve's proposal on python-dev, but less sophisticated and therefore
less tedious to implement.

In any case, I'm not sure it should be committed before the 3.1 release.
The second and last release candidate is supposed to be today.

----------

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


More information about the Python-bugs-list mailing list