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

Thomas Lee report at bugs.python.org
Mon Jan 14 14:32:03 CET 2008


Thomas Lee added the comment:

If you're referring to an 'append' mode for bz2file objects, it may be a
limitation of the underlying library: my version of bzlib.h only
provides BZ2_bzWriteOpen and BZ2_bzReadOpen - it's not immediately clear
how you would open a BZ2File in append mode looking at this API.

It may be possible to implement r/w/a using the lower-level
bzCompress/bzDecompress functions, but I doubt that's going to happen
unless somebody (such as yourself? :)) cares deeply about this.

----------
nosy: +thomas.lee

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1625>
__________________________________


More information about the Python-bugs-list mailing list