Searched refs:GzipFile (Results 1 – 25 of 26) sorted by relevance
12
/third_party/python/Lib/test/ |
D | test_gzip.py | 60 with gzip.GzipFile(self.filename, 'w'+mode) as f: 63 with gzip.GzipFile(self.filename, 'r'+mode) as f: 67 with gzip.GzipFile(self.filename, 'wb') as f: 82 with gzip.GzipFile(filename, 'w') as f: 85 with gzip.GzipFile(filename, 'a') as f: 87 with gzip.GzipFile(filename) as f: 111 with gzip.GzipFile(self.filename, 'wb') as f: 117 with gzip.GzipFile(self.filename, 'rb') as f: 123 with gzip.GzipFile(self.filename, 'r') as f: 131 with gzip.GzipFile(self.filename, 'r') as f: [all …]
|
D | test_tarfile.py | 69 open = gzip.GzipFile if gzip else None
|
/third_party/python/Doc/library/ |
D | gzip.rst | 16 The :mod:`gzip` module provides the :class:`GzipFile` class, as well as the 18 The :class:`GzipFile` class reads and writes :program:`gzip`\ -format files, 42 :class:`GzipFile` constructor. 44 For binary mode, this function is equivalent to the :class:`GzipFile` 45 constructor: ``GzipFile(filename, mode, compresslevel)``. In this case, the 48 For text mode, a :class:`GzipFile` object is created, and wrapped in an 70 .. class:: GzipFile(filename=None, mode=None, compresslevel=9, fileobj=None, mtime=None) 72 Constructor for the :class:`GzipFile` class, which simulates most of the 95 in text mode, use :func:`.open` (or wrap your :class:`GzipFile` with an 108 Calling a :class:`GzipFile` object's :meth:`close` method does not close [all …]
|
D | tarfile.rst | 504 modifying. This is the case for objects such as :class:`~gzip.GzipFile`.
|
/third_party/python/Lib/ |
D | gzip.py | 58 binary_file = GzipFile(filename, gz_mode, compresslevel) 60 binary_file = GzipFile(None, gz_mode, compresslevel, filename) 121 class GzipFile(_compression.BaseStream): class 548 with GzipFile(fileobj=buf, mode='wb', compresslevel=compresslevel, mtime=mtime) as f: 556 with GzipFile(fileobj=io.BytesIO(data)) as f: 583 f = GzipFile(filename="", mode="rb", fileobj=sys.stdin.buffer) 593 g = GzipFile(filename="", mode="wb", fileobj=sys.stdout.buffer,
|
D | tarfile.py | 1674 from gzip import GzipFile 1679 fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
|
/third_party/python/Lib/xmlrpc/ |
D | client.py | 1049 with gzip.GzipFile(mode="wb", fileobj=f, compresslevel=1) as gzf: 1072 with gzip.GzipFile(mode="rb", fileobj=BytesIO(data)) as gzf: 1091 class GzipDecodedResponse(gzip.GzipFile if gzip else object): 1101 gzip.GzipFile.__init__(self, mode="rb", fileobj=self.io) 1105 gzip.GzipFile.close(self)
|
/third_party/mesa3d/src/gallium/tools/trace/ |
D | pytracediff.py | 236 from gzip import GzipFile 237 stream = io.TextIOWrapper(GzipFile(filename, "rb"))
|
D | parse.py | 430 from gzip import GzipFile 431 stream = io.TextIOWrapper(GzipFile(fname, 'rb'))
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | gen_vk_internal_shaders.py | 322 with gzip.GzipFile(fileobj=buf, mode='wb', compresslevel=9, mtime=0) as f:
|
/third_party/python/Misc/NEWS.d/ |
D | 3.5.0a3.rst | 223 copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang
|
D | 3.5.0a4.rst | 253 Limit the size of decompressed data when reading from GzipFile, BZ2File or
|
D | 3.5.1rc1.rst | 205 where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
|
D | 3.10.1.rst | 446 Reverted optimization of iterating :class:`gzip.GzipFile`,
|
D | 3.10.0b1.rst | 754 Add ``__iter__()`` method to :class:`bz2.BZ2File`, :class:`gzip.GzipFile`,
|
D | 3.6.0a1.rst | 2430 where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
|
/third_party/python/Doc/whatsnew/ |
D | 3.1.rst | 240 * The :class:`gzip.GzipFile` and :class:`bz2.BZ2File` classes now support 244 >>> with gzip.GzipFile(filename, "wb") as f:
|
D | 3.2.rst | 1400 :class:`gzip.GzipFile` now implements the :class:`io.BufferedIOBase` 1402 :meth:`~gzip.GzipFile.peek` method and supports unseekable as well as
|
D | 2.7.rst | 1287 * The :mod:`gzip` module's :class:`~gzip.GzipFile` now supports the context 1288 management protocol, so you can write ``with gzip.GzipFile(...) as f:``
|
D | 3.9.rst | 875 * Opening the :class:`~gzip.GzipFile` file for writing without specifying
|
D | 3.5.rst | 1168 The *mode* argument of the :class:`~gzip.GzipFile` constructor now
|
D | 3.10.rst | 1548 faster, lzma decompression 1.20x ~ 1.32x faster, ``GzipFile.read(-1)`` 1.11x
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 558 f = gzip.GzipFile(fileobj=f)
|
/third_party/python/Doc/ |
D | glossary.rst | 158 :class:`gzip.GzipFile`.
|
/third_party/python/Misc/ |
D | HISTORY | 630 GzipFile corruption. Original patch by Wolfgang Maier. 5441 - Issue #1159051: GzipFile now raises EOFError when reading a corrupted file 6856 read1() methods of the BZ2File, GzipFile and LZMAFile classes. 7272 - Fix GzipFile's handling of filenames given as bytes objects. 8853 - Issue #13781: Fix GzipFile bug that caused an exception to be raised when 9835 - Issue #10791: Implement missing method GzipFile.read1(), allowing GzipFile 10564 - Issue #13989: Document that GzipFile does not support text mode, and give a 11972 - Issue #9759: GzipFile now raises ValueError when an operation is attempted 12003 - Issue #9962: GzipFile now has the peek() method. 12028 - Issue #1675951: Allow GzipFile to work with unseekable file objects. Patch by [all …]
|
12