Message284475
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)." |
|
Date |
User |
Action |
Args |
2017-01-02 08:14:50 | mndavidoff | set | recipients:
+ mndavidoff, docs@python, python-dev, berker.peksag, serhiy.storchaka |
2017-01-02 08:14:50 | mndavidoff | set | messageid: <1483344890.13.0.900364558946.issue29013@psf.upfronthosting.co.za> |
2017-01-02 08:14:50 | mndavidoff | link | issue29013 messages |
2017-01-02 08:14:49 | mndavidoff | create | |
|