wasm-demo/demo/ermis-f/python_m/cur/1935

26 lines
919 B
Plaintext

From: akuchlin at cnri.reston.va.us (Andrew M. Kuchling)
Date: Tue, 4 May 1999 09:13:21 -0400 (EDT)
Subject: Bug in module gzip
In-Reply-To: <m37lqpw2bu.fsf@chinon.cnrs-orleans.fr>
References: <m37lqpw2bu.fsf@chinon.cnrs-orleans.fr>
Message-ID: <14126.60755.866272.266591@amarok.cnri.reston.va.us>
X-UID: 1935
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