[issue6759] zipfile.ZipExtFile.read() is missing universal newline support
Art Gillespie
report at bugs.python.org
Thu Aug 27 00:44:02 CEST 2009
Art Gillespie <agillesp at gmail.com> added the comment:
Hi David,
Thanks for the review. Patch attached.
(1) I've moved that comment to the check's new location.
(2) Fixed the bug and added tests for only one separator. Also added
test data and tests for mixed eol files.
(3) I changed this so that when the file is opened with universal
newline support, read(size) makes multiple calls to _do_read until size
bytes are read or EOF is reached.
----------
Added file: http://bugs.python.org/file14785/issue6759_3.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6759>
_______________________________________
More information about the Python-bugs-list
mailing list