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 shaanbhaya
Recipients shaanbhaya
Date 2021-05-07.08:41:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1620376906.17.0.222009997075.issue44067@roundup.psfhosted.org>
In-reply-to
Content
The issue stems from the following code inside the 
def _write_end_record(self): method ,where the extra fields are trimmed .

if zinfo.header_offset > ZIP64_LIMIT:
    extra.append(zinfo.header_offset)
    header_offset = 0xffffffff
else:
    header_offset = zinfo.header_offset

extra_data = zinfo.extra
min_version = 0
if extra:
    # Append a ZIP64 field to the extra's
    extra_data = _strip_extra(extra_data, (1,))
    extra_data = struct.pack(
        '<HH' + 'Q'*len(extra),
        1, 8*len(extra), *extra) + extra_data

min_version = ZIP64_VERSION
History
Date User Action Args
2021-05-07 08:41:46shaanbhayasetrecipients: + shaanbhaya
2021-05-07 08:41:46shaanbhayasetmessageid: <1620376906.17.0.222009997075.issue44067@roundup.psfhosted.org>
2021-05-07 08:41:46shaanbhayalinkissue44067 messages
2021-05-07 08:41:46shaanbhayacreate