Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty | Serhiy Storchaka | 2013-09-27 | 1 | -0/+39 | |
| | | | | | | | | bytes until end of data. | |||||
* | | Issue #17944: test_zipfile now discoverable and uses subclassing to | Serhiy Storchaka | 2013-07-22 | 1 | -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 to | Serhiy Storchaka | 2013-07-22 | 1 | -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 zipfile | Brett Cannon | 2013-06-15 | 1 | -2/+2 | |
| | | ||||||
* | | Move test_zipfile to unittest.main() | Brett Cannon | 2013-06-12 | 1 | -7/+1 | |
| | | ||||||
* | | Refactor recently added bugfix into more testable code by using a | Gregory P. Smith | 2013-02-03 | 1 | -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 a | Gregory P. Smith | 2013-02-03 | 1 | -12/+29 | |
| | | | | | | | | | | method for windows file name sanitization. Splits the unittest up into several based on platform. | |||||
* | | Fix the test for issue #6972. | Serhiy Storchaka | 2013-02-02 | 1 | -5/+17 | |
|\ \ | |/ | | | | | Remove trailing dots on Windows. | |||||
| * | Fix the test for issue #6972. | Serhiy Storchaka | 2013-02-02 | 1 | -5/+17 | |
| |\ | | | | | | | | | | Remove trailing dots on Windows. | |||||
| | * | Fix the test for issue #6972. | Serhiy Storchaka | 2013-02-02 | 1 | -5/+17 | |
| | | | | | | | | | | | | Remove trailing dots on Windows. | |||||
* | | | Fixes Issue #6972: The zipfile module no longer overwrites files outside of | Gregory P. Smith | 2013-02-01 | 1 | -9/+77 | |
|\ \ \ | |/ / | | | | | | | its destination path when extracting malicious zip files. | |||||
| * | | Fixes Issue #6972: The zipfile module no longer overwrites files outside of | Gregory P. Smith | 2013-02-01 | 1 | -9/+77 | |
| |\ \ | | |/ | | | | | | | its destination path when extracting malicious zip files. | |||||
| | * | Fixes Issue #6972: The zipfile module no longer overwrites files outside of | Gregory P. Smith | 2013-02-01 | 1 | -9/+77 | |
| | | | | | | | | | | | | its destination path when extracting malicious zip files. | |||||
* | | | Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with an | Serhiy Storchaka | 2013-01-31 | 1 | -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 an | Serhiy Storchaka | 2013-01-31 | 1 | -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 an | Serhiy Storchaka | 2013-01-31 | 1 | -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 invalid | Serhiy Storchaka | 2013-01-29 | 1 | -1/+25 | |
|\ \ \ | |/ / | | | | | | | Python file. Patch by Ben Morgan. | |||||
| * | | Issue #12004: Fix an internal error in PyZipFile when writing an invalid | Serhiy Storchaka | 2013-01-29 | 1 | -1/+25 | |
| |\ \ | | |/ | | | | | | | Python file. Patch by Ben Morgan. | |||||
| | * | Issue #12004: Fix an internal error in PyZipFile when writing an invalid | Serhiy Storchaka | 2013-01-29 | 1 | -1/+24 | |
| | | | | | | | | | | | | Python file. Patch by Ben Morgan. | |||||
* | | | Replace IOError with OSError (#16715) | Andrew Svetlov | 2012-12-25 | 1 | -4/+4 | |
|/ / | ||||||
* | | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 | |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | |||||
| * | Issue #16714: use 'raise' exceptions, don't 'throw'. | Andrew Svetlov | 2012-12-18 | 1 | -1/+1 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
| * | #14313: zipfile now raises NotImplementedError when the compression type is ↵ | Ezio Melotti | 2012-11-18 | 1 | -0/+11 | |
| | | | | | | | | unknown. | |||||
* | | Issue #9239: add tests for modifying zipfile comments in append mode. | Antoine Pitrou | 2012-06-30 | 1 | -0/+18 | |
|\ \ | |/ | ||||||
| * | Issue #9239: add tests for modifying zipfile comments in append mode. | Antoine Pitrou | 2012-06-30 | 1 | -0/+18 | |
| | | ||||||
| * | #14399: zipfile now correctly handles comments added to empty zipfiles. | R David Murray | 2012-04-12 | 1 | -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. | |||||
* | | Issue #14366: Support lzma compression in zip files. | Martin v. Löwis | 2012-05-13 | 1 | -1/+124 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | Check extract_version when opening a zipfile. | Martin v. Löwis | 2012-05-01 | 1 | -0/+10 | |
| | | ||||||
* | | Detect unsupported compression types. | Martin v. Löwis | 2012-05-01 | 1 | -0/+11 | |
| | | ||||||
* | | Issue #14371: Support bzip2 in zipfile module. | Martin v. Löwis | 2012-05-01 | 1 | -1/+125 | |
| | | | | | | | | Patch by Serhiy Storchaka. | |||||
* | | Merge #14399: zipfile now correctly handles comments added to empty zipfiles. | R David Murray | 2012-04-12 | 1 | -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. | |||||
* | | default - Fix closes Issue6090 - Raise a ValueError, instead of failing with ↵ | Senthil Kumaran | 2011-10-19 | 1 | -0/+16 | |
|\ \ | |/ | | | | | | | | | | | unrelated exceptions, when a document with timestamp earlier than 1980 is provided to zipfile. Patch contributed by Petri Lehtinen. | |||||
| * | 3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with ↵ | Senthil Kumaran | 2011-10-19 | 1 | -0/+11 | |
| | | | | | | | | | | | | | | unrelated exceptions, when a document with timestamp earlier than 1980 is provided to zipfile. Patch contributed by Petri Lehtinen. | |||||
* | | Merge #10694: zipfile now ignores garbage at the end of a zipfile. | R David Murray | 2011-06-09 | 1 | -0/+18 | |
|\ \ | |/ | ||||||
| * | #10694: zipfile now ignores garbage at the end of a zipfile. | R David Murray | 2011-06-09 | 1 | -0/+18 | |
| | | | | | | | | Original fix by 'rep', final patch (with tests) by Xuanji Li. | |||||
| * | Skip test that requires zlib when zlib is not available. | Ezio Melotti | 2011-03-14 | 1 | -0/+1 | |
| | | ||||||
* | | Refactor a few tests to use the new requires_zlib decorator. | Ezio Melotti | 2011-05-19 | 1 | -39/+32 | |
| | | ||||||
* | | Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart. | Eric V. Smith | 2011-03-14 | 1 | -0/+1 | |
|/ | ||||||
* | #10801: do not actually extract, just open() the files in the test zipfile. | Georg Brandl | 2011-01-01 | 1 | -9/+4 | |
| | ||||||
* | #10801: In zipfile, support different encodings for the header and the ↵ | Georg Brandl | 2011-01-01 | 1 | -0/+14 | |
| | | | | filenames. Patch by MvL, test by Eli Bendersky. | |||||
* | #4871: check that zipfile password is bytes, and give useful error message. | R. David Murray | 2010-12-21 | 1 | -0/+6 | |
| | | | | | | | | | Previously passing a string in as the password would fail either with an assertion error or a TypeError with a confusing error message. Note that a string can't be accepted since zipfile has no way to guess what encoding should be used to turn it into bytes. Patch by Victor Stinner. | |||||
* | Add an "optimize" parameter to compile() to control the optimization level, ↵ | Georg Brandl | 2010-12-04 | 1 | -0/+16 | |
| | | | | and provide an interface to it in py_compile, compileall and PyZipFile. | |||||
* | zipfile: remove remaining ResourceWarnings | Łukasz Langa | 2010-11-23 | 1 | -11/+10 | |
| | ||||||
* | Fix #8886. Use context managers throughout the test. | Brian Curtin | 2010-11-18 | 1 | -105/+107 | |
| | ||||||
* | start banging on zipfile's file leakiness | Benjamin Peterson | 2010-10-31 | 1 | -9/+48 | |
| | ||||||
* | #7351: add more consistent exception name alias. | Georg Brandl | 2010-10-28 | 1 | -11/+11 | |
| | ||||||
* | #1710703: write zipfile structures also in the case of closing a new, but ↵ | Georg Brandl | 2010-10-14 | 1 | -0/+25 | |
| | | | | empty, archive. | |||||
* | Issue #9837: The read() method of ZipExtFile objects (as returned by | Antoine Pitrou | 2010-09-12 | 1 | -0/+20 | |
| | | | | ZipFile.open()) could return more bytes than requested. | |||||
* | Issue #7467: when a file from a ZIP archive, its CRC is checked and a | Antoine Pitrou | 2010-08-12 | 1 | -0/+79 | |
| | | | | | BadZipfile error is raised if it doesn't match (as used to be the case in Python 2.5 and earlier). | |||||
* | PEP 3147 | Barry Warsaw | 2010-04-17 | 1 | -1/+8 | |
| |