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

Martin Panter report at bugs.python.org
Fri Jan 30 07:48:55 CET 2015


Martin Panter added the comment:

The non-blocking behaviour that I documented in my patch is under question in Issue 13322. I think it would be nice change the implementation to either return None or raise BlockingIOError.

----------

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


More information about the Python-bugs-list mailing list