[Python-Dev] Zipfile needs?

Bob Ippolito bob at redivi.com
Tue Dec 28 03:41:23 CET 2004


On Dec 27, 2004, at 8:43 PM, 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.

Note that the bzip2 module is named bz2 and does provide a 
file-like-interface.  Also, it is implemented entirely as a C extension 
(ick).

-bob



More information about the Python-Dev mailing list