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 mndavidoff
Recipients berker.peksag, docs@python, mndavidoff, python-dev, serhiy.storchaka
Date 2017-01-02.08:14:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483344890.13.0.900364558946.issue29013@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy, thank you for the correction and the additional information. I tried reading a zip file larger than 4 GiB with allowZip64=False, and it worked, so it looks like allowZip64 only applies to writing. I suggest we fix the inconsistency in the documentation as follows:

(1) In the description of the zipfile.ZipFile class, revert the change back to:

"If allowZip64 is True (the default) zipfile will create ZIP files that use the ZIP64 extensions when the zipfile is larger than 2 GiB."

(2) Change the second paragraph in the zipfile module documentation from:

"It can handle ZIP files that use the ZIP64 extensions (that is ZIP files that are more than 4 GiB in size)."

to:

"It can handle ZIP files that use the ZIP64 extensions (that is ZIP files that are more than 2 GiB in size)."
History
Date User Action Args
2017-01-02 08:14:50mndavidoffsetrecipients: + mndavidoff, docs@python, python-dev, berker.peksag, serhiy.storchaka
2017-01-02 08:14:50mndavidoffsetmessageid: <1483344890.13.0.900364558946.issue29013@psf.upfronthosting.co.za>
2017-01-02 08:14:50mndavidofflinkissue29013 messages
2017-01-02 08:14:49mndavidoffcreate