summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #17753: effective_ids unavailable on Windows.Berker Peksag2015-02-161-1/+3
|\
| * Issue #17753: effective_ids unavailable on Windows.Berker Peksag2015-02-161-1/+3
| |
* | Issue #17753: Skip test_zipfile tests which require write access to testSerhiy Storchaka2015-02-141-0/+8
|\ \ | |/ | | | | and email.test.
| * Issue #17753: Skip test_zipfile tests which require write access to testSerhiy Storchaka2015-02-141-0/+8
| | | | | | | | and email.test.
| * Issue #14099: Backout changeset e5bb3044402b (except adapted tests).Serhiy Storchaka2015-01-261-61/+55
| |
* | Issue #14099: Restored support of writing ZIP files to tellable butSerhiy Storchaka2015-01-261-0/+28
| | | | | | | | non-seekable streams.
* | Issue #14099: ZipFile.open() no longer reopen the underlying file. ObjectsSerhiy Storchaka2014-12-031-26/+95
|\ \ | |/ | | | | | | | | returned by ZipFile.open() can now operate independently of the ZipFile even if the ZipFile was created by passing in a file-like object as the first argument to the constructor.
| * Issue #14099: ZipFile.open() no longer reopen the underlying file. ObjectsSerhiy Storchaka2014-12-031-26/+95
| | | | | | | | | | | | returned by ZipFile.open() can now operate independently of the ZipFile even if the ZipFile was created by passing in a file-like object as the first argument to the constructor.
* | Issue #22217: Implemented reprs of classes in the zipfile module.Serhiy Storchaka2014-10-291-0/+31
|/
* Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOSSerhiy Storchaka2014-09-231-4/+41
| | | | directory attributes.
* Fixed test_large_file_exception. Ported tests for large count of filesSerhiy Storchaka2014-09-231-1/+62
| | | | to AbstractTestZip64InSmallFiles.
* Issue #21440: test_zipfile: replace last direct calls to os.remove() withVictor Stinner2014-09-031-5/+5
| | | | support.unlink()
* Issue #21440: Backport changeset 4ebf97299b18 to branch 3.4, useVictor Stinner2014-09-031-12/+11
| | | | support.rmtree() and support.unlink() in test_zipfile & test_tarfile
* Fix issue #14315: The zipfile module now ignores extra fields in the centralGregory P. Smith2014-05-301-0/+15
| | | | | | directory that are too short to be parsed instead of letting a struct.unpack error bubble up as this "bad data" appears in many real world zip files in the wild and is ignored by other zip tools.
* Issue #20262: Warnings are raised now when duplicate names are added in theSerhiy Storchaka2014-01-201-3/+6
|\ | | | | | | ZIP file or too long ZIP file comment is truncated.
| * Issue #20262: Warnings are raised now when duplicate names are added in theSerhiy Storchaka2014-01-201-2/+5
| | | | | | | | ZIP file or too long ZIP file comment is truncated.
* | Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-091-0/+31
|\ \ | |/ | | | | consumption.
| * Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-091-0/+31
| | | | | | | | consumption.
* | Issue #15204: Silence and check the 'U' mode deprecation warnings in tests.Serhiy Storchaka2013-11-241-7/+22
| | | | | | | | Changed deprecation message in the fileinput module.
* | Issue #17201: ZIP64 extensions now are enabled by default.Serhiy Storchaka2013-11-231-2/+2
| | | | | | | | Patch by William Mallard.
* | add filtering of individual files to PyZipFileChristian Tismer2013-10-221-1/+30
| | | | | | | | | | | | changed output of debug messages to say "path" or "file" extended test for filtering certain files in a package added test for filtering files in a python dir (no package)
* | #19274: use captured_stdout() in the test suite; add NEWS entry.Georg Brandl2013-10-211-8/+5
| |
* | add a filterfunc to zip file.PyZipFile.writepy, issue 19274Christian Tismer2013-10-211-80/+102
| |
* | Issue #19053: ZipExtFile.read1() with non-zero argument no more returns emptySerhiy Storchaka2013-09-271-0/+39
|\ \ | |/ | | | | bytes until end of data.
| * Issue #19053: ZipExtFile.read1() with non-zero argument no more returns emptySerhiy Storchaka2013-09-271-0/+39
| | | | | | | | bytes until end of data.
* | Issue #17944: test_zipfile now discoverable and uses subclassing toSerhiy Storchaka2013-07-221-843/+561
|\ \ | |/ | | | | | | generate tests for different compression types. Fixed a bug with skipping some tests due to use of exhausted iterators.
| * Issue #17944: test_zipfile now discoverable and uses subclassing toSerhiy Storchaka2013-07-221-849/+562
| | | | | | | | | | generate tests for different compression types. Fixed a bug with skipping some tests due to use of exhausted iterators.
* | Issue #17177: Stop using imp in zipfileBrett Cannon2013-06-151-2/+2
| |
* | Move test_zipfile to unittest.main()Brett Cannon2013-06-121-7/+1
| |
* | Refactor recently added bugfix into more testable code by using aGregory P. Smith2013-02-031-12/+29
|\ \ | |/ | | | | | | method for windows file name sanitization. Splits the unittest up into several based on platform.
| * Refactor recently added bugfix into more testable code by using aGregory P. Smith2013-02-031-12/+29
| | | | | | | | | | method for windows file name sanitization. Splits the unittest up into several based on platform.
* | Fix the test for issue #6972.Serhiy Storchaka2013-02-021-5/+17
|\ \ | |/ | | | | Remove trailing dots on Windows.
| * Fix the test for issue #6972.Serhiy Storchaka2013-02-021-5/+17
| |\ | | | | | | | | | Remove trailing dots on Windows.
| | * Fix the test for issue #6972.Serhiy Storchaka2013-02-021-5/+17
| | | | | | | | | | | | Remove trailing dots on Windows.
* | | Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-9/+77
|\ \ \ | |/ / | | | | | | its destination path when extracting malicious zip files.
| * | Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-9/+77
| |\ \ | | |/ | | | | | | its destination path when extracting malicious zip files.
| | * Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-9/+77
| | | | | | | | | | | | its destination path when extracting malicious zip files.
* | | Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with anSerhiy Storchaka2013-01-311-0/+14
|\ \ \ | |/ / | | | | | | | | | incomplete "End of Central Directory" record. Original patch by Guilherme Polo and Alan McIntyre.
| * | Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with anSerhiy Storchaka2013-01-311-0/+14
| |\ \ | | |/ | | | | | | | | | incomplete "End of Central Directory" record. Original patch by Guilherme Polo and Alan McIntyre.
| | * Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with anSerhiy Storchaka2013-01-311-0/+14
| | | | | | | | | | | | | | | incomplete "End of Central Directory" record. Original patch by Guilherme Polo and Alan McIntyre.
* | | Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+25
|\ \ \ | |/ / | | | | | | Python file. Patch by Ben Morgan.
| * | Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+25
| |\ \ | | |/ | | | | | | Python file. Patch by Ben Morgan.
| | * Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+24
| | | | | | | | | | | | Python file. Patch by Ben Morgan.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-4/+4
|/ /
* | Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
|\ \ | |/ | | | | Patch by Serhiy Storchaka.
| * Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | | | | | Patch by Serhiy Storchaka.
| * #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-181-0/+11
| | | | | | | | unknown.
* | Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
|\ \ | |/
| * Issue #9239: add tests for modifying zipfile comments in append mode.Antoine Pitrou2012-06-301-0/+18
| |
| * #14399: zipfile now correctly handles comments added to empty zipfiles.R David Murray2012-04-121-0/+22
| | | | | | | | | | | | | | | | Patch by Serhiy Storchaka. This also moves the TypeError that results from trying to use a unicode comment from the 'close' step to the point at which the comment is added to the zipfile.