[issue9837] ZipFileExt.read() reads more data than requested

Antoine Pitrou report at bugs.python.org
Sun Sep 12 14:44:41 CEST 2010

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

Indeed. In most cases, though, read1(n) will return exactly n bytes and the loop will therefore end immediately with the right buf size. Do you have a simple test case?

versions: +Python 3.2

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list