Bug in module gzip

Andrew M. Kuchling akuchlin at cnri.reston.va.us
Tue May 4 09:13:21 EDT 1999


Konrad Hinsen writes:
>The attribute unused_data is in fact never set. It should thus be
>impossible to read any file at all, which makes me wonder if nobody
>noticed this before... and perhaps has a fix!

	unused_data is an attribute added to the zlib module in 1.5.2,
so Python code can get access to data after the end of a compressed
stream.  Therefore you'll also need to use the zlib module from 1.5.2.

-- 
A.M. Kuchling			http://starship.python.net/crew/amk/
Despair says little, and is patient.
    -- From SANDMAN: "Season of Mists", episode 0




More information about the Python-list mailing list