[issue2523] binary buffered reading is quadratic

Alexandre Vassalotti report at bugs.python.org
Sun Jun 8 07:42:17 CEST 2008


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

I reviewed the patch and I found a few bugs -- i.e., peek() was
replacing the buffer content, read() wasn't written in consideration of
non-blocking streams, the removal of the None check in
BufferedRandom.read() was wrong.

Here's an updated patch.

Added file: http://bugs.python.org/file10550/binaryio3.patch

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


More information about the Python-bugs-list mailing list