Home
last modified time | relevance | path

Searched refs:GzipFile (Results 1 – 25 of 26) sorted by relevance

12

/third_party/python/Lib/test/
Dtest_gzip.py60 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 …]
Dtest_tarfile.py69 open = gzip.GzipFile if gzip else None
/third_party/python/Doc/library/
Dgzip.rst16 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 …]
Dtarfile.rst504 modifying. This is the case for objects such as :class:`~gzip.GzipFile`.
/third_party/python/Lib/
Dgzip.py58 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,
Dtarfile.py1674 from gzip import GzipFile
1679 fileobj = GzipFile(name, mode + "b", compresslevel, fileobj)
/third_party/python/Lib/xmlrpc/
Dclient.py1049 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/
Dpytracediff.py236 from gzip import GzipFile
237 stream = io.TextIOWrapper(GzipFile(filename, "rb"))
Dparse.py430 from gzip import GzipFile
431 stream = io.TextIOWrapper(GzipFile(fname, 'rb'))
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dgen_vk_internal_shaders.py322 with gzip.GzipFile(fileobj=buf, mode='wb', compresslevel=9, mtime=0) as f:
/third_party/python/Misc/NEWS.d/
D3.5.0a3.rst223 copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang
D3.5.0a4.rst253 Limit the size of decompressed data when reading from GzipFile, BZ2File or
D3.5.1rc1.rst205 where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
D3.10.1.rst446 Reverted optimization of iterating :class:`gzip.GzipFile`,
D3.10.0b1.rst754 Add ``__iter__()`` method to :class:`bz2.BZ2File`, :class:`gzip.GzipFile`,
D3.6.0a1.rst2430 where GzipFile.read() failed to read chunks larger than 2 or 4 GiB. The
/third_party/python/Doc/whatsnew/
D3.1.rst240 * The :class:`gzip.GzipFile` and :class:`bz2.BZ2File` classes now support
244 >>> with gzip.GzipFile(filename, "wb") as f:
D3.2.rst1400 :class:`gzip.GzipFile` now implements the :class:`io.BufferedIOBase`
1402 :meth:`~gzip.GzipFile.peek` method and supports unseekable as well as
D2.7.rst1287 * The :mod:`gzip` module's :class:`~gzip.GzipFile` now supports the context
1288 management protocol, so you can write ``with gzip.GzipFile(...) as f:``
D3.9.rst875 * Opening the :class:`~gzip.GzipFile` file for writing without specifying
D3.5.rst1168 The *mode* argument of the :class:`~gzip.GzipFile` constructor now
D3.10.rst1548 faster, lzma decompression 1.20x ~ 1.32x faster, ``GzipFile.read(-1)`` 1.11x
/third_party/python/Lib/test/support/
D__init__.py558 f = gzip.GzipFile(fileobj=f)
/third_party/python/Doc/
Dglossary.rst158 :class:`gzip.GzipFile`.
/third_party/python/Misc/
DHISTORY630 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