zlib compressionobj use: what am I missing?

Alex Martelli aleaxit at yahoo.com
Thu Aug 16 17:47:17 EDT 2001


"Titus Brown" <t at chabry.caltech.edu> wrote in message
news:9lhcom$8ao$1 at chabry.caltech.edu...
> Hi all, I'm working on a patch to the zlibmodule, but I can't get this
> bit of code for testing compression objects to work at all.  Should it?
> If not, what am I doing wrong??

>     zlib.decompress(compdata)

Only thing I can think of, is you're throwing the result of decompress
away -- with a print here, this works fine for me.


Alex






More information about the Python-list mailing list