Home
last modified time | relevance | path

Searched refs:BadZipFile (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/
Dzipfile.py42 class BadZipFile(Exception): class
52 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
232 raise BadZipFile("zipfiles that span multiple disks are not supported")
467 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
484 raise BadZipFile(f"Corrupt zip64 extra field. "
940 raise BadZipFile("Bad CRC-32 for file %r" % self.name)
1280 except BadZipFile:
1322 raise BadZipFile("File is not a zip file")
1324 raise BadZipFile("File is not a zip file")
1349 raise BadZipFile("Truncated central directory")
[all …]
/external/python/cpython3/Lib/test/
Dtest_zipfile.py977 with self.assertRaises(zipfile.BadZipFile) as e:
988 with self.assertRaises(zipfile.BadZipFile) as e:
997 with self.assertRaises(zipfile.BadZipFile) as e:
1011 with self.assertRaises(zipfile.BadZipFile) as e:
1023 with self.assertRaises(zipfile.BadZipFile) as e:
1035 with self.assertRaises(zipfile.BadZipFile) as e:
1046 with self.assertRaises(zipfile.BadZipFile) as e:
1570 raise zipfile.BadZipFile()
1571 except zipfile.BadZipFile:
1651 except zipfile.BadZipFile:
[all …]
/external/oss-fuzz/infra/cifuzz/
Dclusterfuzz_deployment.py204 except zipfile.BadZipFile:
/external/python/cpython3/Doc/library/
Dzipfile.rst28 .. exception:: BadZipFile
37 Alias of :exc:`BadZipFile`, for compatibility with older Python versions.
/external/python/cpython3/Misc/
DHISTORY5407 - Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an
11698 - Issue #7351: Add ``zipfile.BadZipFile`` spelling of the exception name and