Message284469
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. |
|
Date |
User |
Action |
Args |
2017-01-02 06:22:28 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, docs@python, python-dev, berker.peksag, mndavidoff |
2017-01-02 06:22:28 | serhiy.storchaka | set | messageid: <1483338148.94.0.349558659091.issue29013@psf.upfronthosting.co.za> |
2017-01-02 06:22:28 | serhiy.storchaka | link | issue29013 messages |
2017-01-02 06:22:28 | serhiy.storchaka | create | |
|