A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/1999-December/001695.html below:

[Python-Dev] zipfile.py

[Python-Dev] zipfile.pyJames C. Ahlstrom jim@interet.com
Mon, 20 Dec 1999 14:25:27 -0500
"M.-A. Lemburg" wrote:

> I guess it would be ok to waste space. You could provide
> a .cleanup() or .rewrite() method that takes care of
> reorganizing the file to fill up the gaps.

OK, adding a duplicate name replaces the old file.

> Well the module seems to work just fine with compression
> on, so disallowing it or issuing a warning would reduce its value,
> IMHO.

Yes compression works, but 90% of Python installations don't have
zlib, so it is an ERROR to create archives with compression when
these archives are distributed to other sites.

> How about making compression a boolean value and then
> converting any true value to 8 ?

It would close the door to future or other compression methods.
Currently the method must be 0 or 8 or a traceback will result.

JimA



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4