WinZip vs 0-length files (was RE: trivial import question)

Tres Seaver tseaver at palladion.com
Mon Apr 12 09:33:53 EDT 1999


Tim Peters wrote:
> 
> With tne candidate release of Python 1.5.2 just out, this is quite timely!
> 
> At various times in March, at least Brad Clements, Lars Marius Garshol and
> Tres Seaver spread the rumor that WinZip wouldn't extract 0-length files,
> thus causing Python packages depending on an empty __init__.py to fail in
> mysterious ways.
> 
> I tried reproducing that but had no problems with the latest WinZip, so had
> a good time insulting them all <wink>.
> 
> But they were right!  Steve Spicklemire provided the missing clue offline:
> while WinZip does not have a problem with 0-length files in .zip archives,
> it does indeed fail to extract them from .tgz archives.

Heh, vindication!  I hadn't reproduced the problem myself since Tim's
chastisement (not the comfy chair!), and appreciate his graciousness in beating
us to the counterpunch.

-- 
=========================================================
Tres Seaver         tseaver at palladion.com    713-523-6582
Palladion Software  http://www.palladion.com




More information about the Python-list mailing list