Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #25624: ZipFile now always writes a ZIP_STORED header for directory | Serhiy Storchaka | 2015-11-22 | 1 | -1/+3 |
| | | | | entries. Patch by Dingyuan Wang. | ||||
* | Issue #14099: Backout changeset c2c4cde55f6f (except adapted tests). | Serhiy Storchaka | 2015-01-26 | 1 | -64/+42 |
| | |||||
* | Issue #14099: ZipFile.open() no longer reopen the underlying file. Objects | Serhiy Storchaka | 2014-12-03 | 1 | -42/+64 |
| | | | | | | 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 #22219: The zipfile module CLI now adds entries for directories | Serhiy Storchaka | 2014-10-04 | 1 | -2/+9 |
| | | | | (including empty directories) in ZIP file. | ||||
* | Issue #20912: Now directories added to ZIP file have correct Unix and MS-DOS | Serhiy Storchaka | 2014-09-23 | 1 | -1/+6 |
| | | | | directory attributes. | ||||
* | Issue #21866: ZipFile.close() no longer writes ZIP64 central directory | Serhiy Storchaka | 2014-09-23 | 1 | -13/+24 |
| | | | | records if allowZip64 is false. | ||||
* | Issue #22201: Command-line interface of the zipfile module now correctly | Serhiy Storchaka | 2014-08-17 | 1 | -12/+1 |
| | | | | extracts ZIP files with directory entries. Patch by Ryan Wilson. | ||||
* | Fix issue #14315: The zipfile module now ignores extra fields in the central | Gregory P. Smith | 2014-05-30 | 1 | -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 the | Serhiy Storchaka | 2014-01-20 | 1 | -6/+6 |
| | | | | ZIP file or too long ZIP file comment is truncated. | ||||
* | Issue #20048: Fixed ZipExtFile.peek() when it is called on the boundary of | Serhiy Storchaka | 2013-12-21 | 1 | -1/+5 |
| | | | | | | the uncompress buffer and read() goes through more than one readbuffer. This is partial backport of changeset 028e8e0b03e8. | ||||
* | Issue #17656: Fix extraction of zip files with unicode member paths. | Serhiy Storchaka | 2013-04-13 | 1 | -1/+4 |
| | |||||
* | Fix the test and remove trailing dots on Windows for issue #6972. | Serhiy Storchaka | 2013-02-02 | 1 | -1/+4 |
| | |||||
* | Fix translating of illegal characters on Windows (issue #6972). | Serhiy Storchaka | 2013-02-02 | 1 | -1/+2 |
| | |||||
* | Fixes Issue #6972: The zipfile module no longer overwrites files outside of | Gregory P. Smith | 2013-02-01 | 1 | -11/+16 |
| | | | | 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 | -7/+20 |
| | | | | | incomplete "End of Central Directory" record. Original patch by Guilherme Polo and Alan McIntyre. | ||||
* | Issue #9720: zipfile now writes correct local headers for files larger than ↵ | Serhiy Storchaka | 2013-01-14 | 1 | -15/+32 |
| | | | | 4 GiB. | ||||
* | #14313: zipfile now raises NotImplementedError when the compression type is ↵ | Ezio Melotti | 2012-11-18 | 1 | -0/+28 |
| | | | | unknown. | ||||
* | Issue #16408: Fix file descriptors not being closed in error conditions in ↵ | Antoine Pitrou | 2012-11-17 | 1 | -210/+204 |
| | | | | | | the zipfile module. Patch by Serhiy Storchaka. | ||||
* | Closes #16183: ZipExtFile object close without file handle closed ↵ | Jesus Cea | 2012-11-04 | 1 | -2/+13 |
| | | | | (backporting of Issue #9846) | ||||
* | #14399: zipfile now correctly handles comments added to empty zipfiles. | R David Murray | 2012-04-12 | 1 | -12/+21 |
| | | | | Patch by Serhiy Storchaka. | ||||
* | Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated | Senthil Kumaran | 2011-10-19 | 1 | -0/+4 |
| | | | | | exceptions, when a document with timestamp earlier than 1980 is provided to zipfile. Patch contributed by Petri Lehtinen. | ||||
* | #10694: zipfile now ignores garbage at the end of a zipfile. | R David Murray | 2011-06-09 | 1 | -10/+8 |
| | | | | Original fix by 'rep', final patch (with tests) by Xuanji Li. | ||||
* | Merged revisions 85455 via svnmerge from | Georg Brandl | 2010-11-26 | 1 | -5/+22 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85455 | georg.brandl | 2010-10-14 08:59:45 +0200 (Do, 14 Okt 2010) | 1 line #1710703: write zipfile structures also in the case of closing a new, but empty, archive. ........ | ||||
* | Merged revisions 84737 via svnmerge from | Antoine Pitrou | 2010-09-12 | 1 | -6/+9 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84737 | antoine.pitrou | 2010-09-12 16:51:20 +0200 (dim., 12 sept. 2010) | 4 lines Issue #9837: The read() method of ZipExtFile objects (as returned by ZipFile.open()) could return more bytes than requested. ........ | ||||
* | Merged revisions 83959-83960 via svnmerge from | Antoine Pitrou | 2010-08-12 | 1 | -2/+23 |
| | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r83959 | antoine.pitrou | 2010-08-12 17:11:50 +0200 (jeu., 12 août 2010) | 5 lines Issue #7467: when a file from a ZIP archive, its CRC is checked and a BadZipfile error is raised if it doesn't match (as used to be the case in Python 2.5 and earlier). ........ r83960 | antoine.pitrou | 2010-08-12 17:15:01 +0200 (jeu., 12 août 2010) | 3 lines Typo. ........ | ||||
* | Issue 6003: ZipFile.writestr "compression_type" argument | Ronald Oussoren | 2010-02-07 | 1 | -1/+5 |
| | |||||
* | avoid to use zlib when the compress type is not ZIP_DEFLATED | Ezio Melotti | 2010-01-28 | 1 | -6/+8 |
| | |||||
* | Issue #7610: Reworked implementation of the internal | Antoine Pitrou | 2010-01-27 | 1 | -187/+152 |
| | | | | | | | | :class:`zipfile.ZipExtFile` class used to represent files stored inside an archive. The new implementation is significantly faster and can be wrapped in a :class:`io.BufferedReader` object for more speedups. It also solves an issue where interleaved calls to `read()` and `readline()` give wrong results. Patch by Nir Aides. | ||||
* | #5511: Added the ability to use ZipFile as a context manager. Patch by Brian ↵ | Ezio Melotti | 2009-12-30 | 1 | -0/+6 |
| | | | | Curtin. | ||||
* | #6511: ZipFile will now raise BadZipfile when opening an empty or tiny file, | Amaury Forgeot d'Arc | 2009-07-28 | 1 | -1/+4 |
| | | | | like it does for larger invalid files. | ||||
* | Fixes the last problem mentioned in issue1202. | Gregory P. Smith | 2009-06-26 | 1 | -1/+1 |
| | |||||
* | Issue #6050: Don't fail extracting a directory from a zipfile if | Martin v. Löwis | 2009-05-24 | 1 | -1/+2 |
| | | | | the directory already exists. | ||||
* | make sure files are closed using the with statement | Benjamin Peterson | 2009-05-10 | 1 | -25/+23 |
| | |||||
* | Issue #5692: In :class:`zipfile.Zipfile`, fix wrong path calculation when ↵ | Antoine Pitrou | 2009-05-04 | 1 | -1/+3 |
| | | | | extracting a file to the root directory. | ||||
* | revert unrelated change | Benjamin Peterson | 2009-05-02 | 1 | -3/+1 |
| | |||||
* | remove py3k compat code | Benjamin Peterson | 2009-05-02 | 1 | -1/+3 |
| | |||||
* | Issue #4710: Extract directories properly in the zipfile module; | Martin v. Löwis | 2009-01-24 | 1 | -3/+20 |
| | | | | allow adding directories to a zipfile. | ||||
* | follow-up of #3997: since 0xFFFF numbers are not enough to indicate a zip64 ↵ | Amaury Forgeot d'Arc | 2009-01-17 | 1 | -11/+6 |
| | | | | | | format, always try to read the "zip64 end of directory structure". | ||||
* | #3997: zipfiles generated with more than 65536 files could not be opened | Amaury Forgeot d'Arc | 2009-01-17 | 1 | -7/+13 |
| | | | | | | with other applications. Reviewed by Martin, will backport to 2.6 and 3.0 | ||||
* | Issue #4756: zipfile.is_zipfile() now supports file-like objects. | Antoine Pitrou | 2008-12-27 | 1 | -7/+19 |
| | | | | Patch by Gabriel Genellina. | ||||
* | Issue #3535: zipfile couldn't read some zip files larger than 2GB. | Antoine Pitrou | 2008-09-05 | 1 | -3/+3 |
| | | | | Reviewed by Amaury Forgeot d'Arc. | ||||
* | fix ZipFile.testzip() to work with very large embedded files | Antoine Pitrou | 2008-08-17 | 1 | -1/+6 |
| | |||||
* | #3394: zipfile.writestr doesn't set external attributes, so files are ↵ | Antoine Pitrou | 2008-07-25 | 1 | -0/+1 |
| | | | | extracted mode 000 on Unix | ||||
* | #3317 in zipfile module, restore the previous names of global variables: | Amaury Forgeot d'Arc | 2008-07-11 | 1 | -55/+27 |
| | | | | | | some applications relied on them. Also remove duplicated lines. | ||||
* | Patch #1622: Correct interpretation of various ZIP header fields. | Martin v. Löwis | 2008-07-03 | 1 | -99/+204 |
| | | | | | | | | | Also fixes - Issue #1526: Allow more than 64k files to be added to Zip64 file. - Issue #1746: Correct handling of zipfile archive comments (previously archives with comments over 4k were flagged as invalid). Allow writing Zip files with archives by setting the 'comment' attribute of a ZipFile. | ||||
* | Patch #1775025: allow opening zipfile members via ZipInfo instances. | Georg Brandl | 2008-05-20 | 1 | -5/+8 |
| | | | | Patch by Graham Horler. | ||||
* | Issue #1734346: Support Unicode file names for zipfiles. | Martin v. Löwis | 2008-05-05 | 1 | -6/+24 |
| | |||||
* | Fix the struct module DeprecationWarnings that zipfile was triggering by | Gregory P. Smith | 2008-03-19 | 1 | -27/+37 |
| | | | | | | removing all use of signed struct values. test_zipfile and test_zipfile64 pass. no more warnings. | ||||
* | Use zlib's crc32 routine instead of binascii when available. zlib's is faster | Gregory P. Smith | 2008-03-19 | 1 | -3/+5 |
| | | | | when compiled properly optimized and about the same speed otherwise. | ||||
* | Document that zipfile decryption is insanely slow and fix a typo and | Gregory P. Smith | 2008-01-20 | 1 | -1/+1 |
| | | | | | blatant lie in a docstring (it is not useful for security regardless of how you spell it). |