Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed the test of issue #13664 on platforms without unicode filenames support. | Serhiy Storchaka | 2014-10-13 | 1 | -0/+4 |
| | |||||
* | Issue #13664: GzipFile now supports non-ascii Unicode filenames. | Serhiy Storchaka | 2014-10-12 | 1 | -0/+11 |
| | |||||
* | Issue #19936: Added executable bits or shebang lines to Python scripts which | Serhiy Storchaka | 2014-01-16 | 1 | -1/+0 |
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. | ||||
* | backout 214d8909513d for regressions (#1159051) | Benjamin Peterson | 2013-05-11 | 1 | -17/+0 |
| | |||||
* | Close #17666: Fix reading gzip files with an extra field. | Serhiy Storchaka | 2013-04-08 | 1 | -0/+7 |
| | |||||
* | Issue #1159051: GzipFile now raises EOFError when reading a corrupted file | Serhiy Storchaka | 2013-01-22 | 1 | -0/+18 |
| | | | | | with truncated header or footer. Added tests for reading truncated gzip and bzip2 files. | ||||
* | Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile(). | Nadeem Vawda | 2012-10-21 | 1 | -0/+7 |
| | |||||
* | Issue #13781: Fix GzipFile to work with os.fdopen()'d file objects. | Nadeem Vawda | 2012-01-18 | 1 | -0/+8 |
| | |||||
* | Merged revisions 86596 via svnmerge from | Ezio Melotti | 2010-11-21 | 1 | -2/+2 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line #9424: Replace deprecated assert* methods in the Python test suite. ........ | ||||
* | Merged revisions 85400 via svnmerge from | Brian Curtin | 2010-10-13 | 1 | -117/+105 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85400 | brian.curtin | 2010-10-12 21:21:42 -0500 (Tue, 12 Oct 2010) | 2 lines Implement #7944. Use `with` throughout the test suite. ........ | ||||
* | Merged revisions 85291 via svnmerge from | Antoine Pitrou | 2010-10-06 | 1 | -0/+22 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85291 | antoine.pitrou | 2010-10-06 23:21:18 +0200 (mer., 06 oct. 2010) | 4 lines Issue #9759: GzipFile now raises ValueError when an operation is attempted after the file is closed. Patch by Jeffrey Finkelstein. ........ | ||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -2/+2 |
| | |||||
* | Issue #2846: Add support for gzip.GzipFile reading zero-padded files. | Antoine Pitrou | 2010-01-13 | 1 | -0/+12 |
| | | | | Patch by Brian Curtin. | ||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -2/+2 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -2/+2 |
| | | | | Patch by flox | ||||
* | Issue #7471: Improve the performance of GzipFile's buffering mechanism, | Antoine Pitrou | 2010-01-03 | 1 | -0/+11 |
| | | | | | and make it implement the `io.BufferedIOBase` ABC to allow for further speedups by wrapping it in an `io.BufferedReader`. Patch by Nir Aides. | ||||
* | #6026 - fix tests that failed without zlib | Ezio Melotti | 2009-09-12 | 1 | -2/+1 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -3/+3 |
| | |||||
* | Issue #3860: GzipFile and BZ2File now support the context manager protocol. | Antoine Pitrou | 2009-01-10 | 1 | -1/+21 |
| | |||||
* | Issue #4272: Add an optional argument to the GzipFile constructor to ↵ | Antoine Pitrou | 2009-01-04 | 1 | -0/+62 |
| | | | | override the timestamp in the gzip stream. | ||||
* | #2959: allow multiple close() calls for GzipFile. | Georg Brandl | 2008-05-25 | 1 | -3/+6 |
| | |||||
* | Remove the test file before writing it in case there is no write permission. | Neal Norwitz | 2008-04-10 | 1 | -5/+2 |
| | | | | | | This might help fix some of the failures on Windows box(es). It doesn't hurt either way and ensure the tests are a little more self contained (ie have less assumptions). | ||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Patch #1647484: Renamed GzipFile's filename attribute to name. The | Lars Gustäbel | 2007-02-13 | 1 | -0/+7 |
| | | | | | filename attribute is still accessible as a property that emits a DeprecationWarning. | ||||
* | Whitespace normalization. | Tim Peters | 2007-01-30 | 1 | -1/+1 |
| | |||||
* | Patch #1355023: support whence argument for GzipFile.seek. | Martin v. Löwis | 2006-11-12 | 1 | -0/+11 |
| | |||||
* | [Bug #1074261, patch #1074381] Restrict the size of chunks read from the ↵ | Andrew M. Kuchling | 2005-06-09 | 1 | -0/+23 |
| | | | | file in order to avoid overflow or huge memory consumption. Patch by Mark Eichin | ||||
* | Convert gzip test suite to use unittest | Andrew M. Kuchling | 2005-06-09 | 1 | -74/+110 |
| | |||||
* | SF bug #999776, zlib home page wrong | Neal Norwitz | 2004-07-29 | 1 | -1/+1 |
| | | | | Backport candidate. | ||||
* | Added a new fileno() method. ZODB's repozo.py wants this so it can | Tim Peters | 2004-07-27 | 1 | -1/+9 |
| | | | | apply os.fsync() to the GzipFile backup files it creates. | ||||
* | Massive changes from SF 589982 (tempfile.py rewrite, by Zack | Guido van Rossum | 2002-08-09 | 1 | -3/+3 |
| | | | | | Weinberg). This changes all uses of deprecated tempfile functions to the recommended ones. | ||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | force gzip module to open files using 'b'inary mode. | Skip Montanaro | 2002-05-23 | 1 | -1/+5 |
| | | | | closes patch #536278. | ||||
* | Whitespace normalization. | Tim Peters | 2001-08-09 | 1 | -1/+1 |
| | |||||
* | Patch #448474: Add support for tell() and seek() to gzip.GzipFile. | Martin v. Löwis | 2001-08-09 | 1 | -0/+24 |
| | |||||
* | Marc-Andre must not have run these tests -- they used verify() but | Guido van Rossum | 2001-01-17 | 1 | -2/+3 |
| | | | | | didn't import it. Also got rid of some inconsistent spaces inside parentheses in test_gzip.py. | ||||
* | This patch removes all uses of "assert" in the regression test suite | Marc-André Lemburg | 2001-01-17 | 1 | -3/+3 |
| | | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum. | ||||
* | Make reindent.py happy (convert everything to 4-space indents!). | Fred Drake | 2000-10-23 | 1 | -3/+2 |
| | |||||
* | Exercise .readline() and .readlines(). More data is written to the | Andrew M. Kuchling | 2000-07-29 | 1 | -4/+28 |
| | | | | test file, too, so the methods have more work to do. | ||||
* | Use binary mode for all gzip files we open. | Guido van Rossum | 1999-04-07 | 1 | -4/+4 |
| | |||||
* | Added a simple test suite for gzip. It simply opens a temp file, | Andrew M. Kuchling | 1999-03-25 | 1 | -0/+30 |
writes a chunk of compressed data, closes it, writes another chunk, and reads the contents back to verify that they are the same. |