Antoine Pitrou added the comment: Le mercredi 24 juillet 2013 à 18:24 +0000, Nikolaus Rath a écrit : > There should be no problem reading 20 bytes with a single call to > BytesIO.read(), yet the buffered reader returns only 10 bytes.
Er. Your bug report seems to imply that read1(n) can return *more* than n bytes, which would be a bug. That it may return less than n bytes is correct, though. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18524> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com