Searched refs:BZ2File (Results 1 – 25 of 25) sorted by relevance
/third_party/python/Lib/test/ |
D | test_bz2.py | 25 from bz2 import BZ2File, BZ2Compressor, BZ2Decompressor 99 self.assertRaises(TypeError, BZ2File, 123.456) 100 self.assertRaises(ValueError, BZ2File, os.devnull, "z") 101 self.assertRaises(ValueError, BZ2File, os.devnull, "rx") 102 self.assertRaises(ValueError, BZ2File, os.devnull, "rbt") 103 self.assertRaises(ValueError, BZ2File, os.devnull, compresslevel=0) 104 self.assertRaises(ValueError, BZ2File, os.devnull, compresslevel=10) 107 self.assertRaises(TypeError, BZ2File, os.devnull, "r", 3) 111 with BZ2File(self.filename) as bz2f: 117 with BZ2File(self.filename) as bz2f: [all …]
|
D | test_fileinput.py | 925 original_open = bz2.BZ2File 926 bz2.BZ2File = self.fake_open 930 bz2.BZ2File = original_open
|
D | test_tarfile.py | 76 open = bz2.BZ2File if bz2 else None 843 with bz2.BZ2File(tmpname, "wb", compresslevel=1) as fobj:
|
/third_party/python/Doc/library/ |
D | bz2.rst | 21 * The :func:`.open` function and :class:`BZ2File` class for reading and 37 As with the constructor for :class:`BZ2File`, the *filename* argument can be 46 :class:`BZ2File` constructor. 48 For binary mode, this function is equivalent to the :class:`BZ2File` 49 constructor: ``BZ2File(filename, mode, compresslevel=compresslevel)``. In 53 For text mode, a :class:`BZ2File` object is created, and wrapped in an 66 .. class:: BZ2File(filename, mode='r', *, compresslevel=9) 89 :class:`BZ2File` provides all of the members specified by the 93 :class:`BZ2File` also provides the following method: 102 the :class:`BZ2File`, it may change the position of the underlying file [all …]
|
D | lzma.rst | 22 module. Note that :class:`LZMAFile` and :class:`bz2.BZ2File` are *not*
|
D | zipfile.rst | 178 (see :class:`bz2 <bz2.BZ2File>` for more information).
|
/third_party/python/Lib/ |
D | bz2.py | 26 class BZ2File(_compression.BaseStream): class 304 binary_file = BZ2File(filename, bz_mode, compresslevel=compresslevel)
|
D | fileinput.py | 427 stream = bz2.BZ2File(filename, mode)
|
D | tarfile.py | 1707 from bz2 import BZ2File 1711 fileobj = BZ2File(fileobj or name, mode, compresslevel=compresslevel)
|
/third_party/node/tools/icu/ |
D | shrink-icu-src.py | 44 with bz2.BZ2File(outfp, 'wb') as outf:
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | parse.py | 403 from bz2 import BZ2File 404 stream = io.TextIOWrapper(BZ2File(fname, 'rb'))
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0b1.rst | 754 Add ``__iter__()`` method to :class:`bz2.BZ2File`, :class:`gzip.GzipFile`, 883 Improve ``bz2.BZ2File`` performance by removing the RLock from BZ2File. This 884 makes BZ2File thread unsafe in the face of multiple simultaneous readers or
|
D | 3.10.0b4.rst | 232 Fix in :meth:`bz2.BZ2File.write` / :meth:`lzma.LZMAFile.write` methods, when
|
D | 3.5.0a4.rst | 253 Limit the size of decompressed data when reading from GzipFile, BZ2File or
|
D | 3.9.0a3.rst | 349 Remove the *buffering* parameter of :class:`bz2.BZ2File`. Since Python 3.0,
|
D | 3.10.1.rst | 447 :class:`bz2.BZ2File`, and :class:`lzma.LZMAFile` (see bpo-43787) because it
|
/third_party/node/ |
D | configure.py | 1668 inf = bz2.BZ2File(compressed_data, 'rb')
|
/third_party/python/Doc/whatsnew/ |
D | 3.1.rst | 240 * The :class:`gzip.GzipFile` and :class:`bz2.BZ2File` classes now support
|
D | 3.3.rst | 966 * :class:`bz2.BZ2File` can now read from and write to arbitrary file-like 971 * :class:`bz2.BZ2File` and :func:`bz2.decompress` can now decompress 973 :class:`bz2.BZ2File` can now also be used to create this type of file, using 978 * :class:`bz2.BZ2File` now implements all of the :class:`io.BufferedIOBase` API,
|
D | 3.9.rst | 1012 * The *buffering* parameter of :class:`bz2.BZ2File` has been removed. Since 1075 * The *compresslevel* parameter of :class:`bz2.BZ2File` became keyword-only,
|
D | 3.10.rst | 1564 * :class:`BZ2File` performance is improved by removing internal ``RLock``. 1565 This makes :class:`BZ2File` thread unsafe in the face of multiple simultaneous
|
D | 2.7.rst | 1053 * The :mod:`bz2` module's :class:`~bz2.BZ2File` now supports the context 1054 management protocol, so you can write ``with bz2.BZ2File(...) as f:``.
|
D | 3.4.rst | 2036 * :class:`bz2.BZ2File` is now as fast or faster than the Python2 version for
|
/third_party/python/Misc/ |
D | HISTORY | 5801 - Issue #16034: Fix performance regressions in the new `bz2.BZ2File` 6856 read1() methods of the BZ2File, GzipFile and LZMAFile classes. 7338 - BZ2File.__init__() and LZMAFile.__init__() now accept a file object as their 9569 - Issue #1625: BZ2File and bz2.decompress() now support multi-stream files. 9847 - Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept 12588 on a BZ2File object, rather than returning incorrect results. 13514 - Issue #8468: bz2.BZ2File() accepts str with surrogates and bytes filenames. 14001 - Issue #7205: Fix a possible deadlock when using a BZ2File object from 15745 - Issue #3860: GzipFile and BZ2File now support the context management protocol. 17503 - Patch #1535500: fix segfault in BZ2File.writelines and make sure it [all …]
|
/third_party/node/doc/changelogs/ |
D | CHANGELOG_V13.md | 745 …hub.com/nodejs/node/commit/964371824c)] - **build**: avoid using CMP for BZ2File (SpaceRacet5w2A6l…
|