summaryrefslogtreecommitdiffstats
path: root/Lib/zipfile.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22201: Command-line interface of the zipfile module now correctlySerhiy Storchaka2014-08-171-12/+1
| | | | extracts ZIP files with directory entries. Patch by Ryan Wilson.
* Fix issue #14315: The zipfile module now ignores extra fields in the centralGregory P. Smith2014-05-301-1/+1
| | | | | | 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-6/+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-6/+6
| | | | | | | | 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/+2
|\ \ | |/ | | | | consumption.
| * Issue #20078: Reading malformed zipfiles no longer hangs with 100% CPUSerhiy Storchaka2014-01-091-0/+2
| | | | | | | | consumption.
* | Issue #18585: speed zipfile import by only generating zipfile._ZipDecryptor ↵Daniel Holth2014-01-031-1/+3
| | | | | | | | on demand
* | Issue #15204: Deprecated the 'U' mode in file-like objects.Serhiy Storchaka2013-11-231-0/+4
| |
* | Issue #17201: ZIP64 extensions now are enabled by default.Serhiy Storchaka2013-11-231-4/+4
| | | | | | | | Patch by William Mallard.
* | add filtering of individual files to PyZipFileChristian Tismer2013-10-221-1/+10
| | | | | | | | | | | | 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)
* | add a filterfunc to zip file.PyZipFile.writepy, issue 19274Christian Tismer2013-10-211-77/+84
| |
* | Issue #19053: ZipExtFile.read1() with non-zero argument no more returns emptySerhiy Storchaka2013-09-271-8/+15
|\ \ | |/ | | | | bytes until end of data.
| * Issue #19053: ZipExtFile.read1() with non-zero argument no more returns emptySerhiy Storchaka2013-09-271-8/+15
| | | | | | | | bytes until end of data.
* | Issue #15767: Excise the remaining instances of ModuleNotFoundErrorBrett Cannon2013-07-041-3/+3
| |
* | Issue #17177: Stop using imp in zipfileBrett Cannon2013-06-151-3/+3
| |
* | Move test___all__ over to unittest.main() and use ModuleNotFoundErrorBrett Cannon2013-06-131-3/+3
| |
* | Refactor recently added bugfix into more testable code by using aGregory P. Smith2013-02-031-7/+19
|\ \ | |/ | | | | | | 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-7/+19
| | | | | | | | | | 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-1/+4
|\ \ | |/ | | | | Remove trailing dots on Windows.
| * Fix the test for issue #6972.Serhiy Storchaka2013-02-021-1/+4
| |\ | | | | | | | | | Remove trailing dots on Windows.
| | * Fix the test for issue #6972.Serhiy Storchaka2013-02-021-1/+4
| | | | | | | | | | | | Remove trailing dots on Windows.
* | | Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-11/+16
|\ \ \ | |/ / | | | | | | its destination path when extracting malicious zip files.
| * | Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-11/+16
| |\ \ | | |/ | | | | | | its destination path when extracting malicious zip files.
| | * Fixes Issue #6972: The zipfile module no longer overwrites files outside ofGregory P. Smith2013-02-011-11/+16
| | | | | | | | | | | | its destination path when extracting malicious zip files.
* | | Issue #4844: ZipFile now raises BadZipFile when opens a ZIP file with anSerhiy Storchaka2013-01-311-6/+19
|\ \ \ | |/ / | | | | | | | | | 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-6/+19
| |\ \ | | |/ | | | | | | | | | 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-6/+19
| | | | | | | | | | | | | | | 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/+1
|\ \ \ | |/ / | | | | | | Python file. Patch by Ben Morgan.
| * | Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+1
| |\ \ | | |/ | | | | | | Python file. Patch by Ben Morgan.
| | * Issue #12004: Fix an internal error in PyZipFile when writing an invalidSerhiy Storchaka2013-01-291-1/+1
| | | | | | | | | | | | Python file. Patch by Ben Morgan.
* | | Issue #9720: zipfile now writes correct local headers for files larger than ↵Serhiy Storchaka2013-01-141-14/+32
|\ \ \ | |/ / | | | | | | 4 GiB.
| * | Issue #9720: zipfile now writes correct local headers for files larger than ↵Serhiy Storchaka2013-01-141-15/+32
| |\ \ | | |/ | | | | | | 4 GiB.
| | * Issue #9720: zipfile now writes correct local headers for files larger than ↵Serhiy Storchaka2013-01-141-15/+32
| | | | | | | | | | | | 4 GiB.
| | * #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-181-0/+28
| | | | | | | | | | | | unknown.
* | | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-6/+6
| | |
* | | Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-234/+217
|\ \ \ | |/ / | | | | | | | | | | | | the zipfile module. Patch by Serhiy Storchaka.
| * | Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-234/+217
| |\ \ | | |/ | | | | | | | | | | | | the zipfile module. Patch by Serhiy Storchaka.
| | * Issue #16408: Fix file descriptors not being closed in error conditions in ↵Antoine Pitrou2012-11-171-222/+205
| | | | | | | | | | | | | | | | | | the zipfile module. Patch by Serhiy Storchaka.
| | * #14399: zipfile now correctly handles comments added to empty zipfiles.R David Murray2012-04-121-11/+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.
* | | #11981: remove duplicate line. Patch by Johan Euphrosine.Ezio Melotti2012-11-171-1/+0
|/ /
* | On behalf of Nadeem Vawda: issue #10376: micro-optimize reading from a Zipfile.Antoine Pitrou2012-06-231-8/+10
| | | | | | | | (patch by Serhiy)
* | Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-211-3/+3
| | | | | | | | | | | | | | | | These functions were originally added to support LZMA compression in the zipfile module, and are not of interest for the majority of users. They can be made public in 3.4 if there is user interest, but in the meanwhile, I've opted to present a smaller, simpler API for the module's initial release.
* | Issue #14366: Support lzma compression in zip files.Martin v. Löwis2012-05-131-16/+105
| | | | | | | | Patch by Serhiy Storchaka.
* | Check extract_version when opening a zipfile.Martin v. Löwis2012-05-011-0/+5
| |
* | Add missing comma in __all__ list.Georg Brandl2012-05-011-1/+1
| |
* | Recognize unsupported feature "compressed patch data set" from zip 2.7.Martin v. Löwis2012-05-011-0/+4
| |
* | Detect unsupported compression types.Martin v. Löwis2012-05-011-2/+19
| |
* | Issue #14371: Support bzip2 in zipfile module.Martin v. Löwis2012-05-011-91/+173
| | | | | | | | Patch by Serhiy Storchaka.
* | #14603: use a listcomp in ZipFile.namelist.Ezio Melotti2012-04-171-4/+1
| |
* | Merge #14399: zipfile now correctly handles comments added to empty zipfiles.R David Murray2012-04-121-11/+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.