Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #28227: gzip now supports pathlib | Berker Peksag | 2016-10-02 | 1 | -1/+3 |
| | | | | Patch by Ethan Furman. | ||||
* | Use sequence repetition instead of bytes constructor with integer argument. | Serhiy Storchaka | 2016-09-11 | 1 | -2/+2 |
| | |||||
* | Fix spelling (inital), grammar (may translates) in documentation, comments | Martin Panter | 2016-04-19 | 1 | -1/+1 |
| | |||||
* | Issue #22341: Drop Python 2 workaround and document CRC initial value | Martin Panter | 2015-12-11 | 1 | -4/+4 |
| | | | | Also align the parameter naming in binascii to be consistent with zlib. | ||||
* | Issue #23529: Limit the size of decompressed data when reading from | Antoine Pitrou | 2015-04-10 | 1 | -295/+188 |
| | | | | | | | | 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 #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -12/+14 |
|\ | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #23865: close() methods in multiple modules now are idempotent and more | Serhiy Storchaka | 2015-04-10 | 1 | -12/+14 |
| | | | | | | | | | | robust at shutdown. If needs to release multiple resources, they are released even if errors are occured. | ||||
| * | Issue #21560: An attempt to write a data of wrong type no longer cause | Serhiy Storchaka | 2015-03-23 | 1 | -2/+2 |
| | | | | | | | | GzipFile corruption. Original patch by Wolfgang Maier. | ||||
* | | Issue #23688: Added support of arbitrary bytes-like objects and avoided | Serhiy Storchaka | 2015-03-23 | 1 | -8/+11 |
|/ | | | | | unnecessary copying of memoryview in gzip.GzipFile.write(). Original patch by Wolfgang Maier. | ||||
* | Issue #20875: Merge from 3.3 | Ned Deily | 2014-03-09 | 1 | -1/+1 |
|\ | |||||
| * | Issue #20875: Prevent possible gzip "'read' is not defined" NameError. | Ned Deily | 2014-03-09 | 1 | -1/+1 |
| | | | | | | | | Patch by Claudiu Popa. | ||||
* | | Issue #19222: Add support for the 'x' mode to the gzip module. | Nadeem Vawda | 2013-10-18 | 1 | -7/+7 |
| | | | | | | | | Original patch by Tim Heaney. | ||||
* | | Issue #18743: Fix references to non-existant "StringIO" module | Serhiy Storchaka | 2013-08-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | in docstrings and comments. | ||||
| * | Issue #18743: Fix references to non-existant "StringIO" module | Serhiy Storchaka | 2013-08-29 | 1 | -1/+1 |
| | | | | | | | | in docstrings and comments. | ||||
| * | Back out patch for #1159051, which caused backwards compatibility problems. | Georg Brandl | 2013-05-12 | 1 | -37/+44 |
| | | |||||
* | | Close #17666: Fix reading gzip files with an extra field. | Serhiy Storchaka | 2013-04-08 | 1 | -1/+2 |
|\ \ | |/ | |||||
| * | Close #17666: Fix reading gzip files with an extra field. | Serhiy Storchaka | 2013-04-08 | 1 | -1/+2 |
| | | |||||
* | | Issue #1159051: GzipFile now raises EOFError when reading a corrupted file | Serhiy Storchaka | 2013-01-22 | 1 | -44/+37 |
|\ \ | |/ | | | | | | | with truncated header or footer. Added tests for reading truncated gzip, bzip2, and lzma files. | ||||
| * | Issue #1159051: GzipFile now raises EOFError when reading a corrupted file | Serhiy Storchaka | 2013-01-22 | 1 | -44/+37 |
| |\ | | | | | | | | | | | | | with truncated header or footer. Added tests for reading truncated gzip, bzip2, and lzma files. | ||||
| | * | Issue #1159051: GzipFile now raises EOFError when reading a corrupted file | Serhiy Storchaka | 2013-01-22 | 1 | -38/+34 |
| | | | | | | | | | | | | | | | with truncated header or footer. Added tests for reading truncated gzip and bzip2 files. | ||||
| | * | #15546: Fix GzipFile.peek()'s handling of pathological input data. | Serhiy Storchaka | 2013-01-22 | 1 | -2/+4 |
| | | | | | | | | | | | | This is a backport of changeset 8c07ff7f882f. | ||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -10/+10 |
|/ / | |||||
* | | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -3/+4 |
|\ \ | |/ | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
| * | Issue #15677: Document that zlib and gzip accept a compression level of 0 to ↵ | Nadeem Vawda | 2012-11-11 | 1 | -3/+4 |
| | | | | | | | | | | | | mean 'no compression'. Patch by Brian Brazil. | ||||
* | | Issue #15800: fix the closing of input / output files when gzip is used as a ↵ | Antoine Pitrou | 2012-08-29 | 1 | -2/+2 |
|\ \ | |/ | | | | | script. | ||||
| * | Issue #15800: fix the closing of input / output files when gzip is used as a ↵ | Antoine Pitrou | 2012-08-29 | 1 | -2/+2 |
| | | | | | | | | script. | ||||
* | | #15546: Also fix GzipFile.peek(). | Nadeem Vawda | 2012-08-05 | 1 | -2/+4 |
| | | |||||
* | | #15546: Fix {GzipFile,LZMAFile}.read1()'s handling of pathological input data. | Nadeem Vawda | 2012-08-05 | 1 | -1/+4 |
| | | |||||
* | | Update GzipFile docstring to mention gzip.open()'s new text-mode support. | Nadeem Vawda | 2012-06-30 | 1 | -1/+1 |
| | | |||||
* | | Fix GzipFile's handling of filenames given as bytes objects. | Nadeem Vawda | 2012-06-19 | 1 | -4/+4 |
|\ \ | |/ | | | | | Add relevant tests for GzipFile, and also for BZ2File and LZMAFile. | ||||
| * | Fix GzipFile's handling of filenames given as bytes objects. | Nadeem Vawda | 2012-06-19 | 1 | -4/+4 |
| | | |||||
* | | Add fileobj support to gzip.open(). | Nadeem Vawda | 2012-06-04 | 1 | -1/+12 |
| | | |||||
* | | Closes #13989: Add support for text modes to gzip.open(). | Nadeem Vawda | 2012-05-06 | 1 | -9/+33 |
| | | | | | | | | Also, add tests for gzip.open(). | ||||
* | | Clean up GzipFile mode string handling code. | Nadeem Vawda | 2012-02-11 | 1 | -6/+5 |
| | | |||||
* | | Merge: #13989: Document that GzipFile does not support text mode. | Nadeem Vawda | 2012-02-11 | 1 | -4/+7 |
|\ \ | |/ | |||||
| * | Issue #13989: Document that GzipFile does not support text mode. | Nadeem Vawda | 2012-02-11 | 1 | -4/+7 |
| | | | | | | | | Also, give a more helpful error message when opened with an invalid mode string. | ||||
* | | Merge: #13781: Fix GzipFile to work with os.fdopen()'d file objects. | Nadeem Vawda | 2012-01-18 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. | Nadeem Vawda | 2012-01-18 | 1 | -2/+4 |
| | | |||||
* | | Remove dead code in gzip. | Nadeem Vawda | 2011-04-13 | 1 | -12/+0 |
| | | | | | | | | | | These functions appear to be holdovers from the 2.x code, intended to handle problems with CRC signedness. | ||||
* | | Issue #10791: Implement missing method GzipFile.read1(), allowing GzipFile | Antoine Pitrou | 2011-04-04 | 1 | -0/+22 |
|/ | | | | to be wrapped in a TextIOWrapper. Patch by Nadeem Vawda. | ||||
* | #10465: fix broken delegation in __getattr__ of _PaddedFile. | Georg Brandl | 2010-11-20 | 1 | -1/+1 |
| | |||||
* | Issue #9759: GzipFile now raises ValueError when an operation is attempted | Antoine Pitrou | 2010-10-06 | 1 | -0/+10 |
| | | | | after the file is closed. Patch by Jeffrey Finkelstein. | ||||
* | GzipFile.peek improvements, suggested by Nir Aides. | Antoine Pitrou | 2010-10-04 | 1 | -3/+5 |
| | |||||
* | Issue #9962: GzipFile now has the peek() method. | Antoine Pitrou | 2010-09-29 | 1 | -1/+24 |
| | |||||
* | Issue #1675951: Allow GzipFile to work with unseekable file objects. | Antoine Pitrou | 2010-09-23 | 1 | -18/+73 |
| | | | | Patch by Florian Festi. | ||||
* | Issue #3488: Provide convenient shorthand functions `gzip.compress` | Antoine Pitrou | 2010-08-17 | 1 | -1/+18 |
| | | | | and `gzip.decompress`. Original patch by Anand B. Pillai. | ||||
* | Merged revisions 80762 via svnmerge from | Mark Dickinson | 2010-05-04 | 1 | -1/+1 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80762 | mark.dickinson | 2010-05-04 19:45:27 +0100 (Tue, 04 May 2010) | 3 lines Fix test_gzip failure on OS X. The failure was a result of trying to fflush a file that wasn't open for writing. Patch by Antoine Pitrou. ........ | ||||
* | Merged revisions 77472-77473 via svnmerge from | Antoine Pitrou | 2010-01-13 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77472 | antoine.pitrou | 2010-01-13 15:32:10 +0100 (mer., 13 janv. 2010) | 5 lines Issue #2846: Add support for gzip.GzipFile reading zero-padded files. Patch by Brian Curtin. ........ r77473 | antoine.pitrou | 2010-01-13 15:32:51 +0100 (mer., 13 janv. 2010) | 3 lines Add ACKS entry for r77472. ........ | ||||
* | Merged revisions 77288 via svnmerge from | Antoine Pitrou | 2010-01-03 | 1 | -57/+42 |
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77288 | antoine.pitrou | 2010-01-03 23:29:56 +0100 (dim., 03 janv. 2010) | 5 lines Issue #7471: Improve the performance of GzipFile's buffering mechanism, and make it implement the `io.BufferedIOBase` ABC to allow for further speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides. ........ | ||||
* | Issue #4757: `zlib.compress` and other methods in the zlib module now | Antoine Pitrou | 2009-12-14 | 1 | -2/+2 |
| | | | | | raise a TypeError when given an `str` object (rather than a `bytes`-like object). Patch by Victor Stinner and Florent Xicluna. |