Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								7e63b36f7f 
								
							 
						 
						
							
							
								
								Issue  #21520 : test_zipfile no longer fails if the word 'bad' appears  
							
							... 
							
							
							
							anywhere in the name of the current directory. 
							
						 
						
							2015-05-08 06:54:58 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								f299abdafa 
								
							 
						 
						
							
							
								
								Issue  #23731 : Implement PEP 488.  
							
							... 
							
							
							
							The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied. 
							
						 
						
							2015-04-13 14:21:02 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								764fc9bfac 
								
							 
						 
						
							
							
								
								Issue  #21717 : The zipfile.ZipFile.open function now supports 'x' (exclusive  
							
							... 
							
							
							
							creation) mode. 
							
						 
						
							2015-03-25 10:09:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								77d899726f 
								
							 
						 
						
							
							
								
								Issue  #23252 :  Added support for writing ZIP files to unseekable streams.  
							
							
							
						 
						
							2015-03-23 01:09:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								a9e2c8ecd6 
								
							 
						 
						
							
							
								
								Issue  #17753 : effective_ids unavailable on Windows.  
							
							
							
						 
						
							2015-02-16 04:36:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								e1efc07a30 
								
							 
						 
						
							
							
								
								Issue  #17753 : effective_ids unavailable on Windows.  
							
							
							
						 
						
							2015-02-16 04:36:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2307287c92 
								
							 
						 
						
							
							
								
								Issue  #17753 : Skip test_zipfile tests which require write access to test  
							
							... 
							
							
							
							and email.test. 
							
						 
						
							2015-02-14 23:06:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								db724fe994 
								
							 
						 
						
							
							
								
								Issue  #17753 : Skip test_zipfile tests which require write access to test  
							
							... 
							
							
							
							and email.test. 
							
						 
						
							2015-02-14 23:04:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a14f7d239f 
								
							 
						 
						
							
							
								
								Issue  #14099 : Restored support of writing ZIP files to tellable but  
							
							... 
							
							
							
							non-seekable streams. 
							
						 
						
							2015-01-26 14:01:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								b76bcc4ffc 
								
							 
						 
						
							
							
								
								Issue  #14099 : Backout changeset e5bb3044402b (except adapted tests).  
							
							
							
						 
						
							2015-01-26 13:45:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								1ad088f3ea 
								
							 
						 
						
							
							
								
								Issue  #14099 : ZipFile.open() no longer reopen the underlying file.  Objects  
							
							... 
							
							
							
							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. 
							
						 
						
							2014-12-03 09:11:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f4adbae927 
								
							 
						 
						
							
							
								
								Issue  #14099 : ZipFile.open() no longer reopen the underlying file.  Objects  
							
							... 
							
							
							
							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. 
							
						 
						
							2014-12-03 09:14:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								51a43703af 
								
							 
						 
						
							
							
								
								Issue  #22217 : Implemented reprs of classes in the zipfile module.  
							
							
							
						 
						
							2014-10-29 22:42:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								46a34924e4 
								
							 
						 
						
							
							
								
								Issue  #20912 : Now directories added to ZIP file have correct Unix and MS-DOS  
							
							... 
							
							
							
							directory attributes. 
							
						 
						
							2014-09-23 22:40:23 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								026a399bf9 
								
							 
						 
						
							
							
								
								Fixed test_large_file_exception. Ported tests for large count of files  
							
							... 
							
							
							
							to AbstractTestZip64InSmallFiles. 
							
						 
						
							2014-09-23 22:27:34 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								88b215e20f 
								
							 
						 
						
							
							
								
								Issue  #21440 : test_zipfile: replace last direct calls to os.remove() with  
							
							... 
							
							
							
							support.unlink() 
							
						 
						
							2014-09-04 00:51:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								57004c696a 
								
							 
						 
						
							
							
								
								Issue  #21440 : Backport changeset 4ebf97299b18 to branch 3.4, use  
							
							... 
							
							
							
							support.rmtree() and support.unlink() in test_zipfile & test_tarfile 
							
						 
						
							2014-09-04 00:49:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								0af8a86be8 
								
							 
						 
						
							
							
								
								Fix issue  #14315 : The zipfile module now ignores extra fields in the central  
							
							... 
							
							
							
							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. 
							
						 
						
							2014-05-29 23:42:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c46d1faa4a 
								
							 
						 
						
							
							
								
								Issue  #20262 : Warnings are raised now when duplicate names are added in the  
							
							... 
							
							
							
							ZIP file or too long ZIP file comment is truncated. 
							
						 
						
							2014-01-20 21:59:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								9b7a1a1af6 
								
							 
						 
						
							
							
								
								Issue  #20262 : Warnings are raised now when duplicate names are added in the  
							
							... 
							
							
							
							ZIP file or too long ZIP file comment is truncated. 
							
						 
						
							2014-01-20 21:57:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								69fdbf9cb0 
								
							 
						 
						
							
							
								
								Issue  #20078 : Reading malformed zipfiles no longer hangs with 100% CPU  
							
							... 
							
							
							
							consumption. 
							
						 
						
							2014-01-09 14:53:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								5ce3f10aee 
								
							 
						 
						
							
							
								
								Issue  #20078 : Reading malformed zipfiles no longer hangs with 100% CPU  
							
							... 
							
							
							
							consumption. 
							
						 
						
							2014-01-09 14:50:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								2480c2ed59 
								
							 
						 
						
							
							
								
								Issue  #15204 : Silence and check the 'U' mode deprecation warnings in tests.  
							
							... 
							
							
							
							Changed deprecation message in the fileinput module. 
							
						 
						
							2013-11-24 23:13:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								235c5e0dd6 
								
							 
						 
						
							
							
								
								Issue  #17201 : ZIP64 extensions now are enabled by default.  
							
							... 
							
							
							
							Patch by William Mallard. 
							
						 
						
							2013-11-23 15:55:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Tismer 
								
							 
						 
						
							
							
							
							
								
							
							
								410d931a17 
								
							 
						 
						
							
							
								
								add filtering of individual files to PyZipFile  
							
							... 
							
							
							
							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) 
							
						 
						
							2013-10-22 04:09:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								a606542e95 
								
							 
						 
						
							
							
								
								#19274 : use captured_stdout() in the test suite; add NEWS entry.  
							
							
							
						 
						
							2013-10-21 08:29:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Tismer 
								
							 
						 
						
							
							
							
							
								
							
							
								59202e5fc7 
								
							 
						 
						
							
							
								
								add a filterfunc to zip file.PyZipFile.writepy, issue 19274  
							
							
							
						 
						
							2013-10-21 03:59:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								ab25c7c011 
								
							 
						 
						
							
							
								
								Issue  #19053 : ZipExtFile.read1() with non-zero argument no more returns empty  
							
							... 
							
							
							
							bytes until end of data. 
							
						 
						
							2013-09-27 22:14:31 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d2c07a58af 
								
							 
						 
						
							
							
								
								Issue  #19053 : ZipExtFile.read1() with non-zero argument no more returns empty  
							
							... 
							
							
							
							bytes until end of data. 
							
						 
						
							2013-09-27 22:11:57 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								9068e4d642 
								
							 
						 
						
							
							
								
								Issue  #17944 : test_zipfile now discoverable and uses subclassing to  
							
							... 
							
							
							
							generate tests for different compression types.  Fixed a bug with skipping
some tests due to use of exhausted iterators. 
							
						 
						
							2013-07-22 21:02:14 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								fa6bc29987 
								
							 
						 
						
							
							
								
								Issue  #17944 : test_zipfile now discoverable and uses subclassing to  
							
							... 
							
							
							
							generate tests for different compression types.  Fixed a bug with skipping
some tests due to use of exhausted iterators. 
							
						 
						
							2013-07-22 21:00:11 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								b57a085c74 
								
							 
						 
						
							
							
								
								Issue  #17177 : Stop using imp in zipfile  
							
							
							
						 
						
							2013-06-15 17:32:30 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								d5b4e1d891 
								
							 
						 
						
							
							
								
								Move test_zipfile to unittest.main()  
							
							
							
						 
						
							2013-06-12 19:57:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								7eca9624be 
								
							 
						 
						
							
							
								
								Refactor recently added bugfix into more testable code by using a  
							
							... 
							
							
							
							method for windows file name sanitization.  Splits the unittest up
into several based on platform. 
							
						 
						
							2013-02-03 00:37:36 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								09aa752067 
								
							 
						 
						
							
							
								
								Refactor recently added bugfix into more testable code by using a  
							
							... 
							
							
							
							method for windows file name sanitization.  Splits the unittest up
into several based on platform. 
							
						 
						
							2013-02-03 00:36:32 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								fc23ec62a6 
								
							 
						 
						
							
							
								
								Fix the test for issue  #6972 .  
							
							... 
							
							
							
							Remove trailing dots on Windows. 
							
						 
						
							2013-02-02 19:52:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								672671da47 
								
							 
						 
						
							
							
								
								Fix the test for issue  #6972 .  
							
							... 
							
							
							
							Remove trailing dots on Windows. 
							
						 
						
							2013-02-02 19:51:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								e5e6444497 
								
							 
						 
						
							
							
								
								Fix the test for issue  #6972 .  
							
							... 
							
							
							
							Remove trailing dots on Windows. 
							
						 
						
							2013-02-02 19:50:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								ae42ec8004 
								
							 
						 
						
							
							
								
								Fixes Issue  #6972 : The zipfile module no longer overwrites files outside of  
							
							... 
							
							
							
							its destination path when extracting malicious zip files. 
							
						 
						
							2013-02-01 11:35:00 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								193e1be72d 
								
							 
						 
						
							
							
								
								Fixes Issue  #6972 : The zipfile module no longer overwrites files outside of  
							
							... 
							
							
							
							its destination path when extracting malicious zip files. 
							
						 
						
							2013-02-01 11:31:31 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								b47acbf46a 
								
							 
						 
						
							
							
								
								Fixes Issue  #6972 : The zipfile module no longer overwrites files outside of  
							
							... 
							
							
							
							its destination path when extracting malicious zip files. 
							
						 
						
							2013-02-01 11:22:43 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								db58e15ee5 
								
							 
						 
						
							
							
								
								Issue  #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an  
							
							... 
							
							
							
							incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre. 
							
						 
						
							2013-01-31 15:30:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d72bfe9eb9 
								
							 
						 
						
							
							
								
								Issue  #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an  
							
							... 
							
							
							
							incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre. 
							
						 
						
							2013-01-31 15:29:20 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								d2b1527f14 
								
							 
						 
						
							
							
								
								Issue  #4844 : ZipFile now raises BadZipFile when opens a ZIP file with an  
							
							... 
							
							
							
							incomplete "End of Central Directory" record.  Original patch by Guilherme
Polo and Alan McIntyre. 
							
						 
						
							2013-01-31 15:27:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								f7209225bb 
								
							 
						 
						
							
							
								
								Issue  #12004 : Fix an internal error in PyZipFile when writing an invalid  
							
							... 
							
							
							
							Python file.  Patch by Ben Morgan. 
							
						 
						
							2013-01-29 20:15:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c5b75db5de 
								
							 
						 
						
							
							
								
								Issue  #12004 : Fix an internal error in PyZipFile when writing an invalid  
							
							... 
							
							
							
							Python file.  Patch by Ben Morgan. 
							
						 
						
							2013-01-29 20:14:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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