Re: Compression module APIs

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 4:41 AM, Florian Weimer wrote: > * Chris Rebert: >> On Thu, May 6, 2010 at 4:09 AM, Florian Weimer 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

Re: Compression module APIs

2010-05-06 Thread Florian Weimer
* Chris Rebert: > On Thu, May 6, 2010 at 4:09 AM, Florian Weimer 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 o

Re: Compression module APIs

2010-05-06 Thread Chris Rebert
On Thu, May 6, 2010 at 4:09 AM, Florian Weimer 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 file-like interfac