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 bgilbert
Recipients bgilbert, serhiy.storchaka
Date 2014-07-07.18:19:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404757159.43.0.65316795822.issue21866@psf.upfronthosting.co.za>
In-reply-to
Content
Here are the cases where close() will generate a ZIP64 archive and an exception will never be raised:

1. There are more than 65535 files in the archive.

2. The start of the central directory is at > 2 GB.

3. The central directory size is > 2 GB.

#1 could be checked from write/writestr.  #2 could possibly be checked from write/writestr by looking at the file offset after writing the compressed data.  #3 cannot be checked until close, but I'm not sure if it can ever occur without triggering one of the other checks first.
History
Date User Action Args
2014-07-07 18:19:19bgilbertsetrecipients: + bgilbert, serhiy.storchaka
2014-07-07 18:19:19bgilbertsetmessageid: <1404757159.43.0.65316795822.issue21866@psf.upfronthosting.co.za>
2014-07-07 18:19:19bgilbertlinkissue21866 messages
2014-07-07 18:19:19bgilbertcreate