]> granicus.if.org Git - python/commit
SF bug #417176 (Martijn Pieters): MultiFile.read() includes CRLF
authorGuido van Rossum <guido@python.org>
Tue, 18 Sep 2001 14:34:06 +0000 (14:34 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 18 Sep 2001 14:34:06 +0000 (14:34 +0000)
commit912e56c3acadf2d68a43e126f5c42e6ca7074025
treee78ba7ec36954873f6751ceccab61cb77ad5dede
parent555d12f986bbf422a98e9083fae266f5ec3550a7
SF bug #417176 (Martijn Pieters): MultiFile.read() includes CRLF
boundary.

Fixed by keeping a readahead buffer containing the next line.

XXX We have no test suite for this.  Maybe the new email package will
help?
Lib/multifile.py