[Python-Dev] Re: Zipfile needs?

Scott David Daniels Scott.Daniels at Acm.Org
Tue Dec 28 06:36:07 CET 2004


Josiah Carlson wrote:
> Scott David Daniels <Scott.Daniels at Acm.Org> wrote:
> 
>>I'm hoping to add BZIP2 compression to zipfile for 2.5.  My primary
>>motivation is that Project Gutenberg seems to be starting to use BZIP2
>>compression for some of its zips.  What other wish list things do
>>people around here have for zipfile?  I thought I'd collect input here
>>and make a PEP.
>>
>>I can open a pseudo-file for STORED files in binary read mode, for
>>example, to allow reading zip-in-zip files without fully occupying
>>memory.
> 
> 
> I'm not sure that zipfile needs BZIP2 support...being that there is a
> bzip2 module.
> 
>  - Josiah
> 
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/python-python-dev%40m.gmane.org
> 
But if you look at the zipfile document, BZIP2 is a compression
technique you can use (per file) in a zip archive.  In fact, I
use bz2 to compress/decompress, but the data still needs to inhabit
the archive.

-- 
-- Scott David Daniels
Scott.Daniels at Acm.Org



More information about the Python-Dev mailing list