This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients berker.peksag, docs@python, mndavidoff, python-dev, serhiy.storchaka
Date 2017-01-02.06:22:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483338148.94.0.349558659091.issue29013@psf.upfronthosting.co.za>
In-reply-to
Content
The documentation was correct. The zipfile module supports *reading* ZIP files up to 4 GiB without the ZIP64 extension, but it requires allowZip64=True for *writing* over 2 GiB files to the ZIP file.

The 2 GiB limit is safer because generated ZIP files can be read by implementations that interpret 32-bit sizes as signed. For example Java don't have unsigned integers. And zipfile and zipimport in old Python versions unpack some fields as signed integers.
History
Date User Action Args
2017-01-02 06:22:28serhiy.storchakasetrecipients: + serhiy.storchaka, docs@python, python-dev, berker.peksag, mndavidoff
2017-01-02 06:22:28serhiy.storchakasetmessageid: <1483338148.94.0.349558659091.issue29013@psf.upfronthosting.co.za>
2017-01-02 06:22:28serhiy.storchakalinkissue29013 messages
2017-01-02 06:22:28serhiy.storchakacreate