Author serhiy.storchaka
Recipients hynek, pitrou, serhiy.storchaka, tarek, william.mallard
Date 2013-02-13.10:55:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1360752930.81.0.0444453590029.issue17189@psf.upfronthosting.co.za>
In-reply-to
Content
> Would there be a way to automatically switch the flag as necessary?
> (i.e. when writing more than 2GB, I guess)

Yes, there is a special flag for this in zipfile. It is named allowZip64.

The only reason to use allowZip64=False is when you expect to unzip a zipfile with a tool which doesn't support zip64 (PKUNZIP.EXE for DOS?) and you want to keep yourself from unintentional zipping a file larger than 2 GiB.

Perhaps sometime we should to change the default value for allowZip64 from False to True.
History
Date User Action Args
2013-02-13 10:55:30serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, tarek, william.mallard, hynek
2013-02-13 10:55:30serhiy.storchakasetmessageid: <1360752930.81.0.0444453590029.issue17189@psf.upfronthosting.co.za>
2013-02-13 10:55:30serhiy.storchakalinkissue17189 messages
2013-02-13 10:55:30serhiy.storchakacreate