On Sun, 9 May 2010 09:25:16 -0700 (PDT) Matthew Brett <matthew.br...@gmail.com> wrote: > > How about: > > > > d = zlib.decompressobj() > > out = d.decompress(data) + d.flush() > > Do you mean, that you would then expect the decompressobj method to > fail as well?
Yes. > But, no, d.flush() returns the empty string after decompressing > ``data``. Hmm, then it's a bug. Can you report it to http://bugs.python.org ? Thank you Antoine. -- http://mail.python.org/mailman/listinfo/python-list