Lines Matching refs:zip64
264 # Assume no 'zip64 extensible data'
440 def FileHeader(self, zip64=None):
443 When the optional zip64 arg is None rather than a bool, we will
461 if zip64 is None:
462 # We always explicitly pass zip64 within this module.... This
464 zip64 = file_size > ZIP64_LIMIT or compress_size > ZIP64_LIMIT
465 if zip64:
518 raise BadZipFile(f"Corrupt zip64 extra field. "
1139 def __init__(self, zf, zinfo, zip64):
1141 self._zip64 = zip64
1650 zip64 = force_zip64 or (zinfo.file_size * 1.05 > ZIP64_LIMIT)
1651 if not self._allowZip64 and zip64:
1661 self.fp.write(zinfo.FileHeader(zip64))
1664 return _ZipWriteFile(self, zinfo, zip64)