summaryrefslogtreecommitdiffstats
path: root/Doc/library/gzip.rst
Commit message (Collapse)AuthorAgeFilesLines
* [3.11] Correct description of inheriting from another class (GH-114660) ↵Miss Islington (bot)2024-02-011-2/+1
| | | | | | | | (#114869) "inherits <someclass>" grates to this reader. I think it should be "inherits from <someclass>". (cherry picked from commit c9c6e04380ffedd25ea2e582f9057ab9612960c9) Co-authored-by: Skip Montanaro <skip.montanaro@gmail.com>
* [3.11] gh-101100: Fix Sphinx reference warnings (GH-112416) (#112422)Hugo van Kemenade2023-11-261-1/+1
|
* [3.11] gh-108826: Document `dis` module CLI and rename `_test` function to ↵Hugo van Kemenade2023-10-111-0/+2
| | | | | | | | `main` (#108827) (#110689) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> Co-authored-by: Radislav Chugunov <52372310+chgnrdv@users.noreply.github.com>
* [3.11] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292) ↵Adam Turner2023-10-051-5/+5
| | | | | | (#110303) [3.11] Docs: Avoid the deprecated ``.. cmdoption::`` directive (GH-110292). (cherry picked from commit 77e9aae3837d9f0cf87461d023896f2c4aeb282f)
* [3.11] gh-101100: Sphinx warnings: pick the low hanging fruits (GH-107386) ↵Miss Islington (bot)2023-07-291-2/+2
| | | | | | | (GH-107418) (cherry picked from commit f2d07d3289947d10b065b2bb7670c8fb6b6582f2) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.11] gh-106892: Use roles :data: and :const: for referencing module ↵Serhiy Storchaka2023-07-211-1/+1
| | | | | variables (GH-106894) (GH-106955) (cherry picked from commit d036db728ea3d54509cbad06df74e2d9a31fbec8)
* [3.11] gh-101100: Document PyObject_ClearWeakRefs, gzip's name, and ↵Hugo van Kemenade2023-03-251-0/+6
| | | | asyncio.iscoroutine (#103001)
* bpo-43613: Faster implementation of gzip.compress and gzip.decompress (GH-27941)Ruben Vorderman2021-09-021-3/+14
| | | Co-authored-by: Łukasz Langa <lukasz@langa.pl>
* bpo-28286: Deprecate opening GzipFile for writing implicitly. (GH-16417)Serhiy Storchaka2019-11-161-1/+6
| | | | Always specify the mode argument for writing.
* bpo-6584: Add a BadGzipFile exception to the gzip module. (GH-13022)Zackery Spytz2019-05-131-0/+8
| | | | | Co-Authored-By: Filip Gruszczyński <gruszczy@gmail.com> Co-Authored-By: Michele Orrù <maker@tumbolandia.net>
* bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704)guoci2018-11-071-2/+4
| | | | | Without setting mtime, time.time() will be used as the timestamp which will end up in the compressed data and each invocation of the compress() function will vary over time.
* bpo-35167: Specify program for gzip and json.tool command line options. ↵Serhiy Storchaka2018-11-051-0/+3
| | | | (GH-10332)
* bpo-34969: Add --fast, --best on the gzip CLI (GH-9833)Stéphane Wirtel2018-11-031-7/+8
|
* bpo-34913: Document gzip command line interface (GH-9782)Stéphane Wirtel2018-10-101-0/+35
|
* Issue #28227: gzip now supports pathlibBerker Peksag2016-10-021-0/+5
| | | | Patch by Ethan Furman.
* Issue #25523: Merge a-to-an corrections from 3.4.Serhiy Storchaka2015-11-021-1/+1
|\
| * Issue #25523: Further a-to-an corrections.Serhiy Storchaka2015-11-021-1/+1
| |
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-1/+1
|\ \ | |/
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-1/+1
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | #21146: give a more efficient recipe in gzip docsAndrew Kuchling2015-04-141-1/+2
| |
* | Issue #23529: Limit the size of decompressed data when reading fromAntoine Pitrou2015-04-101-10/+20
| | | | | | | | | | | | | | | | GzipFile, BZ2File or LZMAFile. This defeats denial of service attacks using compressed bombs (i.e. compressed payloads which decompress to a huge size). Patch by Martin Panter and Nikolaus Rath.
* | Issue #23688: Added support of arbitrary bytes-like objects and avoidedSerhiy Storchaka2015-03-231-0/+4
|/ | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier.
* Closes #18430: Document that peek() may change the position of the underlyingNadeem Vawda2013-12-081-0/+5
|\ | | | | | | file for the BZ2File, GzipFile and LZMAFile classes.
| * #18430: Document that peek() may change the position of the underlying file forNadeem Vawda2013-12-081-0/+5
| | | | | | | | the BZ2File, GzipFile and LZMAFile classes.
* | Issue #19222: Add support for the 'x' mode to the gzip module.Nadeem Vawda2013-10-181-4/+11
|/ | | | Original patch by Tim Heaney.
* Closes #15432: GzipFile mtime argument is new in 3.1.Georg Brandl2013-10-061-5/+3
|
* Fix typo.Georg Brandl2013-10-061-1/+1
|
* Issue #18743: Fix references to non-existant "StringIO" module.Serhiy Storchaka2013-08-161-1/+1
|
* Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-4/+5
|\ | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
| * Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵Nadeem Vawda2012-11-111-3/+4
| | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil.
* | Add fileobj support to gzip.open().Nadeem Vawda2012-06-041-9/+11
| |
* | Closes #13989: Add support for text modes to gzip.open().Nadeem Vawda2012-05-061-12/+34
| | | | | | | | Also, add tests for gzip.open().
* | Merge: #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-3/+5
|\ \ | |/
| * Issue #13989: Document that GzipFile does not support text mode.Nadeem Vawda2012-02-111-3/+5
| | | | | | | | Also, give a more helpful error message when opened with an invalid mode string.
* | Merge edits from 3.2 (#13716, #1040439, #2945, #13770, #6715)Éric Araujo2012-02-051-3/+0
|\ \ | |/
| * Improve interlinking of archiving/compression modules docs.Éric Araujo2012-01-161-3/+0
| | | | | | | | | | | | | | | | | | | | - Remove duplicated list of links to the other modules from each module’s doc (people can already go up to library/archiving and there they can see the list). - Link to shutil high-level operations. Reviewed by Nadeem Vawda in #6715.
* | Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-291-1/+1
| |
* | Merge from 3.2 . Replace the term members with correct and appropriate ↵Senthil Kumaran2011-07-041-1/+1
|\ \ | |/ | | | | terminology. Initial patch by Adam Woodbeck.
| * issue10403 - Let's not use members anymore. Use 'attribute' where it denotes ↵Senthil Kumaran2011-07-041-1/+1
| | | | | | | | attribute and 'methods' where it denotes methods. Context should clarify usage.
* | Clarify that GzipFile.read1() is now implementedAntoine Pitrou2011-04-041-0/+3
|\ \ | |/
| * Clarify that GzipFile.read1() isn't implemented.Antoine Pitrou2011-04-041-1/+1
|/
* More source linksRaymond Hettinger2011-01-271-0/+4
|
* GzipFile.peek improvements, suggested by Nir Aides.Antoine Pitrou2010-10-041-3/+11
|
* Issue #9962: GzipFile now has the peek() method.Antoine Pitrou2010-09-291-6/+10
|
* Small fixes in the gzip docsAntoine Pitrou2010-09-231-3/+4
|
* Issue #1675951: Allow GzipFile to work with unseekable file objects.Antoine Pitrou2010-09-231-0/+3
| | | | Patch by Florian Festi.
* Add cross-references to the glossary entry for file objects.Antoine Pitrou2010-09-151-5/+4
|
* Fix exampleÉric Araujo2010-08-171-1/+1
|
* Add versionadded tagsAntoine Pitrou2010-08-171-0/+4
|
* Modernize gzip examplesAntoine Pitrou2010-08-171-12/+8
|