Home
last modified time | relevance | path

Searched refs:ReadError (Results 1 – 10 of 10) sorted by relevance

/third_party/python/Lib/
Dtarfile.py273 class ReadError(TarError): class
478 raise ReadError("not a gzip file")
546 raise ReadError("invalid compressed data") from e
687 raise ReadError("unexpected end of data")
1537 raise ReadError(str(e)) from None
1614 except (ReadError, CompressionError) as e:
1620 raise ReadError(f"file could not be opened successfully:\n{error_msgs_summary}")
1682 raise ReadError("not a gzip file") from e
1690 raise ReadError("not a gzip file") from e
1718 raise ReadError("not a bzip2 file") from e
[all …]
Dshutil.py72 class ReadError(OSError): class
1162 raise ReadError("%s is not a zip file" % filename)
1193 raise ReadError(
1259 raise ReadError("Unknown archive format '{0}'".format(filename))
/third_party/python/Lib/test/
Dtest_tarfile.py369 except tarfile.ReadError:
388 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode)
389 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname)
424 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
431 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
434 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
440 with self.assertRaisesRegex(tarfile.ReadError, "file could not be opened successfully"):
546 self.assertRaises(tarfile.ReadError, tarfile.open, tarname, self.mode)
548 self.assertRaises(tarfile.ReadError, tarfile.open,
679 except tarfile.ReadError:
[all …]
Dtest_shutil.py1610 self.assertRaises(shutil.ReadError, unpack_archive, converter(TESTFN))
/third_party/python/Misc/NEWS.d/
D3.5.0b4.rst217 tarfile now raises a ReadError if an archive is truncated inside a data
D3.10.1.rst805 tarfile.open raises :exc:`~tarfile.ReadError` when a zlib error occurs
/third_party/cef/tests/ceftests/
Dxml_reader_unittest.cc498 TEST(XmlReaderTest, ReadError) { in TEST() argument
/third_party/python/Doc/library/
Dtarfile.rst95 :exc:`ReadError` is raised. Use *mode* ``'r'`` to avoid this. If a
180 .. exception:: ReadError
/third_party/skia/third_party/externals/libwebp/
DChangeLog572 6f9daa4a jpegdec,ReadError: fix leaks on error
/third_party/python/Misc/
DHISTORY482 - Issue #24259: tarfile now raises a ReadError if an archive is truncated
2658 - Issue #20243: TarFile no longer raise ReadError when opened in write mode.
13918 raises ReadError on empty files.