Nir Aides <n...@winpdb.org> added the comment:

Hi Antoine,

BufferedIOBase is not documented to have peek():
http://docs.python.org/dev/py3k/library/io.html

Small note about patch:
1) IOError string says "read() on write-only...", should be "peek() on 
write-only..." ?
2) Should be min() in self._read(max(self.max_read_chunk, n))

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9962>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to