Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment:

Right, this is a bug in zipfile.py.
The official PKZIP specifications says:
http://www.pkware.com/documents/casestudies/APPNOTE.TXT

      total number of entries in the central dir: (2 bytes)

          The total number of files in the .ZIP file. If an 
          archive is in ZIP64 format and the value in this field
          is 0xFFFF, the size will be in the corresponding 8 byte 
          zip64 end of central directory field.

Patch is attached. With it I can open the file with WinZip.

----------
keywords: +needs review, patch
nosy: +loewis
Added file: http://bugs.python.org/file11841/zip-64k.patch

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3997>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to