[issue1625] bz2.BZ2File doesn't support multiple streams

Nir Aides report at bugs.python.org
Tue May 24 22:19:48 CEST 2011


Nir Aides <nir at winpdb.org> added the comment:

False alarm; go ahead with the review. I took a look too early in the morning before caffeine kicked in.

Note Lib/test/test_bz2.py was directly upgraded from bz2ms.patch.

A note on bz2 behavior: A BZ2Decompressor object is only good for one stream; after that eof is set and it will refuse to continue to the next stream; this seems in line with bzip2 manual:
http://www.bzip.org/1.0.5/bzip2-manual-1.0.5.html#bzDecompress

----------

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


More information about the Python-bugs-list mailing list