Home
last modified time | relevance | path

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

/third_party/python/Lib/
Dzipfile.py43 class BadZipFile(Exception): class
53 error = BadZipfile = BadZipFile # Pre-3.2 compatibility names
233 raise BadZipFile("zipfiles that span multiple disks are not supported")
468 raise BadZipFile("Corrupt extra field %04x (size=%d)" % (tp, ln))
485 raise BadZipFile(f"Corrupt zip64 extra field. "
941 raise BadZipFile("Bad CRC-32 for file %r" % self.name)
1281 except BadZipFile:
1323 raise BadZipFile("File is not a zip file")
1325 raise BadZipFile("File is not a zip file")
1350 raise BadZipFile("Truncated central directory")
[all …]
/third_party/python/Lib/test/
Dtest_zipfile.py979 with self.assertRaises(zipfile.BadZipFile) as e:
990 with self.assertRaises(zipfile.BadZipFile) as e:
999 with self.assertRaises(zipfile.BadZipFile) as e:
1013 with self.assertRaises(zipfile.BadZipFile) as e:
1025 with self.assertRaises(zipfile.BadZipFile) as e:
1037 with self.assertRaises(zipfile.BadZipFile) as e:
1048 with self.assertRaises(zipfile.BadZipFile) as e:
1572 raise zipfile.BadZipFile()
1573 except zipfile.BadZipFile:
1653 except zipfile.BadZipFile:
[all …]
/third_party/python/Doc/library/
Dzipfile.rst28 .. exception:: BadZipFile
37 Alias of :exc:`BadZipFile`, for compatibility with older Python versions.
/third_party/python/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