Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								45c4375ea7 
								
							 
						 
						
							
							
								
								Issue  #12004 : Fix an internal error in PyZipFile when writing an invalid  
							
							... 
							
							
							
							Python file.  Patch by Ben Morgan. 
							
						 
						
							2013-01-29 20:10:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								f7a17b48d7 
								
							 
						 
						
							
							
								
								Replace IOError with OSError ( #16715 )  
							
							
							
						 
						
							2012-12-25 16:47:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								5b89840d9c 
								
							 
						 
						
							
							
								
								Issue  #16714 : use 'raise' exceptions, don't 'throw'.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-18 21:26:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								737fb89dd1 
								
							 
						 
						
							
							
								
								Issue  #16714 : use 'raise' exceptions, don't 'throw'.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-18 21:14:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								6a5fc4c443 
								
							 
						 
						
							
							
								
								#14313 : zipfile now raises NotImplementedError when the compression type is unknown.  
							
							
							
						 
						
							2012-11-18 13:20:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								f93b705bd0 
								
							 
						 
						
							
							
								
								Issue  #9239 : add tests for modifying zipfile comments in append mode.  
							
							
							
						 
						
							2012-06-30 17:32:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								c399185fcc 
								
							 
						 
						
							
							
								
								Issue  #9239 : add tests for modifying zipfile comments in append mode.  
							
							
							
						 
						
							2012-06-30 17:31:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								7fb79fcb64 
								
							 
						 
						
							
							
								
								Issue  #14366 : Support lzma compression in zip files.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-05-13 10:06:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								d099b56be7 
								
							 
						 
						
							
							
								
								Check extract_version when opening a zipfile.  
							
							
							
						 
						
							2012-05-01 14:08:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								b3260f08cf 
								
							 
						 
						
							
							
								
								Detect unsupported compression types.  
							
							
							
						 
						
							2012-05-01 08:38:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								f6b16a4b50 
								
							 
						 
						
							
							
								
								Issue  #14371 : Support bzip2 in zipfile module.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-05-01 07:58:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								f50b38a11f 
								
							 
						 
						
							
							
								
								Merge  #14399 : zipfile now correctly handles comments added to empty zipfiles.  
							
							... 
							
							
							
							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. 
							
						 
						
							2012-04-12 18:44:58 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								51804e9725 
								
							 
						 
						
							
							
								
								#14399 : zipfile now correctly handles comments added to empty zipfiles.  
							
							... 
							
							
							
							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. 
							
						 
						
							2012-04-12 18:44:42 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								7e3062b320 
								
							 
						 
						
							
							
								
								default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated  
							
							... 
							
							
							
							exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen. 
							
						 
						
							2011-10-20 01:52:41 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								29fa9d4d68 
								
							 
						 
						
							
							
								
								3.2 - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated  
							
							... 
							
							
							
							exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen. 
							
						 
						
							2011-10-20 01:46:00 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								51fcb811e3 
								
							 
						 
						
							
							
								
								Merge  #10694 : zipfile now ignores garbage at the end of a zipfile.  
							
							
							
						 
						
							2011-06-09 15:52:31 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								4fbb9dbd34 
								
							 
						 
						
							
							
								
								#10694 : zipfile now ignores garbage at the end of a zipfile.  
							
							... 
							
							
							
							Original fix by 'rep', final patch (with tests) by Xuanji Li. 
							
						 
						
							2011-06-09 15:50:51 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								975077a889 
								
							 
						 
						
							
							
								
								Refactor a few tests to use the new requires_zlib decorator.  
							
							
							
						 
						
							2011-05-19 22:03:22 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								d9a7c4b8e5 
								
							 
						 
						
							
							
								
								Skip test that requires zlib when zlib is not available.  
							
							
							
						 
						
							2011-03-14 18:57:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eric V. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								91f0359ee4 
								
							 
						 
						
							
							
								
								Skip test if zlib not present.  Closes   #11498 . Patch by Natalia B. Bidart.  
							
							
							
						 
						
							2011-03-14 11:57:16 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								04480a8ae5 
								
							 
						 
						
							
							
								
								#10801 : do not actually extract, just open() the files in the test zipfile.  
							
							
							
						 
						
							2011-01-01 10:42:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								5ba11de845 
								
							 
						 
						
							
							
								
								#10801 : In zipfile, support different encodings for the header and the filenames.  Patch by MvL, test by Eli Bendersky.  
							
							
							
						 
						
							2011-01-01 10:09:32 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R. David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								8d855d8304 
								
							 
						 
						
							
							
								
								#4871 : check that zipfile password is bytes, and give useful error message.  
							
							... 
							
							
							
							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. 
							
						 
						
							2010-12-21 21:53:37 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								8334fd9285 
								
							 
						 
						
							
							
								
								Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.  
							
							
							
						 
						
							2010-12-04 10:26:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Łukasz Langa 
								
							 
						 
						
							
							
							
							
								
							
							
								a9f054b423 
								
							 
						 
						
							
							
								
								zipfile: remove remaining ResourceWarnings  
							
							
							
						 
						
							2010-11-23 00:15:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								8fb9b868bd 
								
							 
						 
						
							
							
								
								Fix   #8886 . Use context managers throughout the test.  
							
							
							
						 
						
							2010-11-18 02:15:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d285bdb443 
								
							 
						 
						
							
							
								
								start banging on zipfile's file leakiness  
							
							
							
						 
						
							2010-10-31 17:57:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								4d54088599 
								
							 
						 
						
							
							
								
								#7351 : add more consistent exception name alias.  
							
							
							
						 
						
							2010-10-28 06:42:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								268e4d4cf3 
								
							 
						 
						
							
							
								
								#1710703 : write zipfile structures also in the case of closing a new, but empty, archive.  
							
							
							
						 
						
							2010-10-14 06:59:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								6464d5ffdc 
								
							 
						 
						
							
							
								
								Issue  #9837 : The read() method of ZipExtFile objects (as returned by  
							
							... 
							
							
							
							ZipFile.open()) could return more bytes than requested. 
							
						 
						
							2010-09-12 14:51:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								7c8bcb6f92 
								
							 
						 
						
							
							
								
								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). 
							
						 
						
							2010-08-12 15:11:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								28a691b7fd 
								
							 
						 
						
							
							
								
								PEP 3147  
							
							
							
						 
						
							2010-04-17 00:19:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								ee5c885fd2 
								
							 
						 
						
							
							
								
								Merged revisions 78097 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r78097 | ronald.oussoren | 2010-02-07 21:18:02 +0100 (Sun, 07 Feb 2010) | 2 lines
  Issue 6003: ZipFile.writestr "compression_type" argument
........ 
							
						 
						
							2010-02-07 20:24:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								a32f9a24df 
								
							 
						 
						
							
							
								
								Merged revisions 77798 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r77798 | antoine.pitrou | 2010-01-27 21:59:50 +0100 (mer., 27 janv. 2010) | 8 lines
  Issue #7610 : Reworked implementation of the internal
  :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.
........ 
							
						 
						
							2010-01-27 21:18:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								e96159335f 
								
							 
						 
						
							
							
								
								Merged revisions 77727 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
  use assert[Not]IsInstance where appropriate
........ 
							
						 
						
							2010-01-24 19:26:24 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								577473fe68 
								
							 
						 
						
							
							
								
								use assert[Not]In where appropriate  
							
							... 
							
							
							
							A patch from Dave Malcolm. 
							
						 
						
							2010-01-19 00:09:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								3538671fcc 
								
							 
						 
						
							
							
								
								Merged revisions 77178 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r77178 | ezio.melotti | 2009-12-31 15:00:43 +0200 (Thu, 31 Dec 2009) | 1 line
  cleanup and refactoring
........ 
							
						 
						
							2009-12-31 13:22:41 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								faa6b7f421 
								
							 
						 
						
							
							
								
								Merged revisions 77136 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r77136 | ezio.melotti | 2009-12-30 08:14:51 +0200 (Wed, 30 Dec 2009) | 1 line
  #5511 : Added the ability to use ZipFile as a context manager. Patch by Brian Curtin.
........ 
							
						 
						
							2009-12-30 12:34:59 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								78ea2023d8 
								
							 
						 
						
							
							
								
								Merged revisions 74754 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r74754 | ezio.melotti | 2009-09-12 17:43:43 +0300 (Sat, 12 Sep 2009) | 1 line
  #6026  - fix tests that failed without zlib
........ 
							
						 
						
							2009-09-12 18:41:20 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Amaury Forgeot d'Arc 
								
							 
						 
						
							
							
							
							
								
							
							
								bc3478043d 
								
							 
						 
						
							
							
								
								Merged revisions 74245 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r74245 | amaury.forgeotdarc | 2009-07-29 00:15:30 +0200 (mer., 29 juil. 2009) | 3 lines
  #6511 : ZipFile will now raise BadZipfile when opening an empty or tiny file,
  like it does for larger invalid files.
........ 
							
						 
						
							2009-07-28 22:18:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								afd0d11f07 
								
							 
						 
						
							
							
								
								Merged revisions 74011 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r74011 | ezio.melotti | 2009-07-15 20:07:04 +0300 (Wed, 15 Jul 2009) | 1 line
  methods' names pep8ification
........ 
							
						 
						
							2009-07-15 17:17:17 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								76430242e7 
								
							 
						 
						
							
							
								
								Merged revisions 73931 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r73931 | ezio.melotti | 2009-07-10 23:25:56 +0300 (Fri, 10 Jul 2009) | 1 line
  more cleanups and if zlib -> skipUnless(zlib)
........ 
							
						 
						
							2009-07-11 18:28:48 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								74c96ec399 
								
							 
						 
						
							
							
								
								Merged revisions 73841 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r73841 | ezio.melotti | 2009-07-04 17:58:27 +0300 (Sat, 04 Jul 2009) | 1 line
  if zlib -> skipUnless(zlib) and minor cleanups
........ 
							
						 
						
							2009-07-08 22:24:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								b0d9ca9258 
								
							 
						 
						
							
							
								
								Add a unittest for r73566.  
							
							
							
						 
						
							2009-07-07 05:06:04 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								c9c0f201fe 
								
							 
						 
						
							
							
								
								convert old fail* assertions to assert*  
							
							
							
						 
						
							2009-06-30 23:06:06 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								70ccd167de 
								
							 
						 
						
							
							
								
								Merged revisions 72893 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r72893 | martin.v.loewis | 2009-05-24 21:30:52 +0200 (So, 24 Mai 2009) | 3 lines
  Issue #6050 : Don't fail extracting a directory from a zipfile if
  the directory already exists.
........ 
							
						 
						
							2009-05-24 19:47:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								59e4779abc 
								
							 
						 
						
							
							
								
								Merged revisions 68885 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r68885 | martin.v.loewis | 2009-01-24 15:00:33 +0100 (Sa, 24 Jan 2009) | 3 lines
  Issue #4710 : Extract directories properly in the zipfile module;
  allow adding directories to a zipfile.
........ 
							
						 
						
							2009-01-24 14:10:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								db5fe66731 
								
							 
						 
						
							
							
								
								Merged revisions 67946 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r67946 | antoine.pitrou | 2008-12-27 16:43:12 +0100 (sam., 27 déc. 2008) | 4 lines
  Issue #4756 : zipfile.is_zipfile() now supports file-like objects.
  Patch by Gabriel Genellina.
........ 
							
						 
						
							2008-12-27 15:50:40 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								6e1df8d0d4 
								
							 
						 
						
							
							
								
								Merged revisions 65235 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r65235 | antoine.pitrou | 2008-07-25 21:42:26 +0200 (ven., 25 juil. 2008) | 3 lines
  #3394 : zipfile.writestr doesn't set external attributes, so files are extracted mode 000 on Unix
........ 
							
						 
						
							2008-07-25 19:58:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								b09b844a5c 
								
							 
						 
						
							
							
								
								Merged revisions 64688 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r64688 | martin.v.loewis | 2008-07-03 14:51:14 +0200 (Do, 03 Jul 2008) | 9 lines
  Patch #1622 : Correct interpretation of various ZIP header fields.
  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.
........ 
							
						 
						
							2008-07-03 14:13:42 +00:00