Re: Compression module APIs

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 4:09 AM, Florian Weimer f...@deneb.enyo.de wrote: As far as I can see, the compression-related APIs (gzip, zlib, bzip2) in Python 2.5 have three distinct APIs.  Is there really no unified interface, or am I missing something? bz2.BZ2File and gzip.GzipFile both offer a

Re: Compression module APIs

2010-05-06 Thread Florian Weimer
* Chris Rebert: On Thu, May 6, 2010 at 4:09 AM, Florian Weimer f...@deneb.enyo.de wrote: As far as I can see, the compression-related APIs (gzip, zlib, bzip2) in Python 2.5 have three distinct APIs.  Is there really no unified interface, or am I missing something? bz2.BZ2File and

Re: Compression module APIs

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 4:41 AM, Florian Weimer f...@deneb.enyo.de wrote: * Chris Rebert: On Thu, May 6, 2010 at 4:09 AM, Florian Weimer f...@deneb.enyo.de wrote: As far as I can see, the compression-related APIs (gzip, zlib, bzip2) in Python 2.5 have three distinct APIs.  Is there really no