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

Tim Peters tim_one at email.msn.com
Sat Apr 10 22:15:52 EDT 1999


[Tim, passes on Nico Mak's confirmation that WinZip 7 does not extract
 0-length files from .tgz/.gz/.z/.tar archives, but does from .zip
 archives, and that the former behavior is an acknowledged bug
]

[Charles G Waldman]
> would it work to make the __init__.py files just have a #comment in
> them so that they wouldn't be 0 bytes?

Certainly should work, yes.  Should also work to leave __init__.py empty but
also ship __init__.pyc files (which aren't empty even if __init__.py is).

words-to-the-wise-and-the-idle-ly y'rs  - tim






More information about the Python-list mailing list