Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								618c2e13ca 
								
							 
						 
						
							
							
								
								Use OSError instead of os.error in the docs.  
							
							
							
						 
						
							2012-12-15 22:59:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								60eba57f3e 
								
							 
						 
						
							
							
								
								Cleanup/rewrite shutil docs regarding follow_symlinks and copying attributes.  
							
							
							
						 
						
							2012-09-21 10:12:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								26fe37dd3f 
								
							 
						 
						
							
							
								
								#1492704 : Backout and wait for 3.4  
							
							
							
						 
						
							2012-07-19 21:41:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								77d3283370 
								
							 
						 
						
							
							
								
								#1492704 : Make shutil.copyfile() raise a distinct SameFileError  
							
							... 
							
							
							
							Patch by Atsuo Ishimoto. 
							
						 
						
							2012-07-19 20:23:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								7aa2c8baae 
								
							 
						 
						
							
							
								
								Issue  #15202 : Additional documentation fixes inadvertently omitted  
							
							... 
							
							
							
							from previous checkin. 
							
						 
						
							2012-07-15 16:58:29 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								b40380667c 
								
							 
						 
						
							
							
								
								Issue  #15202 : Consistently use the name "follow_symlinks" for  
							
							... 
							
							
							
							new parameters in os and shutil functions.  Patch by Serhiy Storchaka. 
							
						 
						
							2012-07-15 10:57:38 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								ad5ae0456e 
								
							 
						 
						
							
							
								
								- Issue  #15238 : shutil.copystat now copies Linux "extended attributes".  
							
							
							
						 
						
							2012-07-14 17:55:11 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								5d2ecfb780 
								
							 
						 
						
							
							
								
								Fix typo in shutil doc  
							
							
							
						 
						
							2012-06-27 17:53:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								544e13d126 
								
							 
						 
						
							
							
								
								Fix markup  
							
							
							
						 
						
							2012-06-24 13:53:48 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								03b9ad05d6 
								
							 
						 
						
							
							
								
								Add a single versionadded for a whole section instead of repeating for every function.  
							
							
							
						 
						
							2012-06-24 18:09:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								96acb73dd5 
								
							 
						 
						
							
							
								
								Small whitespace fixes for shutil.rmtree() docs.  
							
							
							
						 
						
							2012-06-24 17:39:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								4a7e25f4df 
								
							 
						 
						
							
							
								
								#444582 : fix example and rewrap docs a bit.  
							
							
							
						 
						
							2012-06-24 17:37:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								5b0eca116a 
								
							 
						 
						
							
							
								
								Issue  #4489 : Rename the feature marker for the symlink resistant rmtree and store it as a function attribute  
							
							
							
						 
						
							2012-06-24 16:43:06 +10:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								2100b42317 
								
							 
						 
						
							
							
								
								#4489 : Fix usage of fd-based functions to new api introduced earlier today  
							
							... 
							
							
							
							Also add an explicit test for safe implementation usage on supported platforms.
As a side effect, this commit adds a module-level attribute 'rmtree_is_safe'
which offers introspection whether the current rmtree implementation is safe
against symlink attacks. 
							
						 
						
							2012-06-23 20:28:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								67be92bed4 
								
							 
						 
						
							
							
								
								#4489 : Add a shutil.rmtree that isn't suspectible to symlink attacks  
							
							... 
							
							
							
							It is used automatically on platforms supporting the necessary os.openat() and
os.unlinkat() functions. Main code by Martin von Löwis. 
							
						 
						
							2012-06-23 17:58:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								07c24d13ed 
								
							 
						 
						
							
							
								
								Issue  #444582 : shutil.which() respects relative paths.  
							
							
							
						 
						
							2012-06-22 23:33:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								c57a34577c 
								
							 
						 
						
							
							
								
								Fix   #444582 . Add shutil.which function for finding programs on the system path.  
							
							
							
						 
						
							2012-06-22 16:00:30 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								066dacf662 
								
							 
						 
						
							
							
								
								Add versionchanged tags for  #14772  changes  
							
							
							
						 
						
							2012-06-19 10:03:05 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								0d0a1dedbc 
								
							 
						 
						
							
							
								
								Fix   #14772 : Return the destination from some shutil functions.  
							
							
							
						 
						
							2012-06-18 18:41:07 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hynek Schlawack 
								
							 
						 
						
							
							
							
							
								
							
							
								6e49ac2406 
								
							 
						 
						
							
							
								
								#14804 : Remove [] around optional arguments with default values  
							
							... 
							
							
							
							3.3 specific additions to d13fdd97cc8e. 
							
						 
						
							2012-05-21 13:41:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								424246fbf3 
								
							 
						 
						
							
							
								
								Issue  #14082 : shutil.copy2() now copies extended attributes, if possible.  
							
							... 
							
							
							
							Patch by Hynek Schlawack. 
							
						 
						
							2012-05-12 19:02:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								1fd648212e 
								
							 
						 
						
							
							
								
								shutil copy module reference doc fix.  
							
							
							
						 
						
							2012-02-13 23:35:44 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								7f728c1e1a 
								
							 
						 
						
							
							
								
								shutil copy module reference doc fix.  
							
							
							
						 
						
							2012-02-13 23:30:47 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								bcf2b59fb5 
								
							 
						 
						
							
							
								
								Issue  #13609 : Add two functions to query the terminal size:  
							
							... 
							
							
							
							os.get_terminal_size (low level) and shutil.get_terminal_size (high level).
Patch by Zbigniew Jędrzejewski-Szmek. 
							
						 
						
							2012-02-08 23:28:36 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								cd0d951a70 
								
							 
						 
						
							
							
								
								Merge edits from 3.2 ( #13716 ,  #1040439 ,  #2945 ,  #13770 ,  #6715 )  
							
							
							
						 
						
							2012-02-05 13:49:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								f2fbb9cf42 
								
							 
						 
						
							
							
								
								Improve interlinking of archiving/compression modules docs.  
							
							... 
							
							
							
							- Remove duplicated list of links to the other modules from each
  module’s doc (people can already go up to library/archiving and
  there they can see the list).
- Link to shutil high-level operations.
Reviewed by Nadeem Vawda in #6715 . 
							
						 
						
							2012-01-16 16:55:55 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								0a08d7a095 
								
							 
						 
						
							
							
								
								Issue  #9993 : When the source and destination are on different filesystems,  
							
							... 
							
							
							
							and the source is a symlink, shutil.move() now recreates a symlink on the
destination instead of copying the file contents.
Patch by Jonathan Niehof and Hynek Schlawack. 
							
						 
						
							2012-01-06 20:16:19 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								78091e63d6 
								
							 
						 
						
							
							
								
								Issue  #12715 : Add an optional symlinks argument to shutil functions (copyfile, copymode, copystat, copy, copy2).  
							
							... 
							
							
							
							When that parameter is true, symlinks aren't dereferenced and the operation
instead acts on the symlink itself (or creates one, if relevant).
Patch by Hynek Schlawack. 
							
						 
						
							2011-12-29 18:54:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								1cdbf57c7c 
								
							 
						 
						
							
							
								
								Merge 3.2  
							
							
							
						 
						
							2011-11-07 18:11:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								06c42a3fca 
								
							 
						 
						
							
							
								
								Document that shutil.make_archive does not typecheck its logger argument  
							
							
							
						 
						
							2011-11-07 17:31:07 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								62ab10a05a 
								
							 
						 
						
							
							
								
								Replace mentions of IOError  
							
							
							
						 
						
							2011-10-12 20:10:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sandro Tosi 
								
							 
						 
						
							
							
							
							
								
							
							
								d902a14dd0 
								
							 
						 
						
							
							
								
								#12191 : add shutil.chown() to change user and/or group owner of a given path also specifying their names.  
							
							
							
						 
						
							2011-08-22 23:28:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								e4d5b8e646 
								
							 
						 
						
							
							
								
								Clean up shutil.disk_usage.  
							
							... 
							
							
							
							- Move a test from call time to define time
- Add the function name to __all__
- Improve docstring and docs
A few lines are now duplicated (named tuple definition and docstring)
but I think the end result reads better. 
							
						 
						
							2011-08-08 16:51:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								3083c88898 
								
							 
						 
						
							
							
								
								#12183 : merge with 3.2.  
							
							
							
						 
						
							2011-08-02 17:42:24 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								ef5c716176 
								
							 
						 
						
							
							
								
								Fix closes Issue12183 - Explain the Symlink copy behavior in shutil.copytree. Patch by Petri Lehtinen.  
							
							
							
						 
						
							2011-08-02 18:52:28 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								2527796a22 
								
							 
						 
						
							
							
								
								Merge from 3.2 ( #10318 ,  #12255 ,  #12043 ,  #12417  and other fixes)  
							
							
							
						 
						
							2011-07-29 03:11:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								14382dc887 
								
							 
						 
						
							
							
								
								Update documentation for shutil.move ( #12043 ) and fix a few typos.  
							
							... 
							
							
							
							Adding Sandro Tosi to Doc/ACKS for this patch and all his work on the
docs mailing list and on the bug tracker. 
							
						 
						
							2011-07-28 22:49:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								a8713b141a 
								
							 
						 
						
							
							
								
								merge from 3.2 - Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob  
							
							
							
						 
						
							2011-07-19 08:03:55 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								ae4a78b0a8 
								
							 
						 
						
							
							
								
								Fix closes issue12577 - clarify shutil.move documentation. Patch suggestion by Catalin Iacob  
							
							
							
						 
						
							2011-07-19 08:03:02 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giampaolo Rodola' 
								
							 
						 
						
							
							
							
							
								
							
							
								210e7ca032 
								
							 
						 
						
							
							
								
								Issue  #12442 : add shutil.disk_usage()  
							
							
							
						 
						
							2011-07-01 13:55:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								0929b1fc70 
								
							 
						 
						
							
							
								
								Add entry for shutil's archiving operations.  
							
							
							
						 
						
							2011-01-23 11:29:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								4f707fd316 
								
							 
						 
						
							
							
								
								Separate source link from main text.  
							
							
							
						 
						
							2011-01-10 19:54:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								1048094037 
								
							 
						 
						
							
							
								
								Move source links to consistent location and remove wordy, big yellow boxes.  
							
							
							
						 
						
							2011-01-10 03:26:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								6e6cb8e0e4 
								
							 
						 
						
							
							
								
								Provide links to Python source where the code is short, readable and  
							
							... 
							
							
							
							informative adjunct to the docs.  Forward-port of Raymond's r86225 and
r86245 using the new source reST role added in #10334 . 
							
						 
						
							2010-11-16 19:13:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tarek Ziadé 
								
							 
						 
						
							
							
							
							
								
							
							
								ffa155ad83 
								
							 
						 
						
							
							
								
								make sure shutil checks for bz2 availability before it uses it.  
							
							
							
						 
						
							2010-04-29 13:34:35 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tarek Ziadé 
								
							 
						 
						
							
							
							
							
								
							
							
								6ac91723bd 
								
							 
						 
						
							
							
								
								#8295  : Added shutil.unpack_archive and related APIs  
							
							
							
						 
						
							2010-04-28 17:51:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tarek Ziadé 
								
							 
						 
						
							
							
							
							
								
							
							
								8c26c7d907 
								
							 
						 
						
							
							
								
								added a note about the ignore_dangling_symlinks option  
							
							
							
						 
						
							2010-04-23 13:03:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tarek Ziadé 
								
							 
						 
						
							
							
							
							
								
							
							
								5e2be8737d 
								
							 
						 
						
							
							
								
								Merged revisions 80282 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/trunk
........
  r80282 | tarek.ziade | 2010-04-20 23:09:06 +0200 (Tue, 20 Apr 2010) | 1 line
  removed ztar support in shutil.make_archive
........ 
							
						 
						
							2010-04-20 21:40:47 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tarek Ziadé 
								
							 
						 
						
							
							
							
							
								
							
							
								6cf3e616e4 
								
							 
						 
						
							
							
								
								fixed typo -- thanks Nick  
							
							
							
						 
						
							2010-04-20 14:31:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								cb999a311c 
								
							 
						 
						
							
							
								
								Add missing arg, fix indentation and spelling.  
							
							
							
						 
						
							2010-04-20 11:26:51 +00:00