[New-bugs-announce] [issue1625] bz2.BZ2File doesn't support multiple streams
Thomas Herve
report at bugs.python.org
Fri Dec 14 10:20:30 CET 2007
New submission from Thomas Herve:
The BZ2File class only supports one stream per file. It possible to have
multiple streams concatenated in one file, it the resulting data should
be the concatenation of all the streams. It's what the bunzip2 program
produces, for example. It's also supported by the gzip module.
Once this done, this would add the ability to open a file for appending,
by adding another stream to the file.
I'll probably try to do this, but the fact it's done in C (unlike gzip)
makes it harder, so if someone beats me to it, etc.
----------
components: Library (Lib)
messages: 58619
nosy: therve
severity: normal
status: open
title: bz2.BZ2File doesn't support multiple streams
type: rfe
versions: Python 2.6
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1625>
__________________________________
More information about the New-bugs-announce
mailing list