Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								47aacc8f69 
								
							 
						 
						
							
							
								
								Issue  #15745 : Rewrite os.utime() tests in test_os  
							
							... 
							
							
							
							* Don't use the timestamp of an existing file anymore, only use fixed
  timestamp
* Enhance the code checking the resolution of the filesystem timestamps.
* Check timestamps with a resolution of 1 microsecond instead of 1 millisecond
* When os.utime() uses the current system clock, tolerate a delta of 20 ms.
  Before some os.utime() tolerated a different of 10 seconds.
* Merge duplicated tests and simplify the code 
							
						 
						
							2015-06-12 17:26:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Berker Peksag 
								
							 
						 
						
							
							
							
							
								
							
							
								ce643913a9 
								
							 
						 
						
							
							
								
								Issue  #9517 : Move script_helper to the support package.  
							
							... 
							
							
							
							Patch by Christie Wilson. 
							
						 
						
							2015-05-06 06:33:17 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								9eb57c5fa5 
								
							 
						 
						
							
							
								
								Issue  #22181 : The availability of the getrandom() is now checked in configure,  
							
							... 
							
							
							
							and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.
Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom(). 
							
						 
						
							2015-03-19 22:21:49 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								ebaa81f3b1 
								
							 
						 
						
							
							
								
								Merge 3.4 (test_os)  
							
							
							
						 
						
							2015-03-12 10:32:20 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								0561c53d78 
								
							 
						 
						
							
							
								
								Issue  #23605 : Refactor os.walk() tests to also run them on os.fwalk()  
							
							
							
						 
						
							2015-03-12 10:28:24 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Dower 
								
							 
						 
						
							
							
							
							
								
							
							
								d5a0be6fc0 
								
							 
						 
						
							
							
								
								Suppress assert dialogs in test_os  
							
							
							
						 
						
							2015-03-07 21:25:54 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								6036e4431d 
								
							 
						 
						
							
							
								
								Issue  #22524 : New os.scandir() function, part of the PEP 471: "os.scandir()  
							
							... 
							
							
							
							function -- a better and faster directory iterator". Patch written by Ben
Hoyt. 
							
						 
						
							2015-03-08 01:58:04 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a9e00d13cd 
								
							 
						 
						
							
							
								
								Issue  #20069 : Fixed test_os on Solaris: error message is platform depended.  
							
							
							
						 
						
							2015-02-16 08:35:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								f2ad173eaf 
								
							 
						 
						
							
							
								
								#20069 : Add tests for os.chown.  
							
							... 
							
							
							
							Patch by Vajrasky Kok. 
							
						 
						
							2014-12-25 18:36:56 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								fe02e39029 
								
							 
						 
						
							
							
								
								Issue  #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),  
							
							... 
							
							
							
							instead of reading /dev/urandom, to get pseudo-random bytes. 
							
						 
						
							2014-12-21 01:16:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4d6a3d6c01 
								
							 
						 
						
							
							
								
								Issue  #22585 : On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),  
							
							... 
							
							
							
							instead of reading /dev/urandom, to get pseudo-random bytes. 
							
						 
						
							2014-12-21 01:16:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								65ee4674e2 
								
							 
						 
						
							
							
								
								Issue  #22777 : Test pickling with all protocols.  
							
							
							
						 
						
							2014-12-15 14:06:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								bad1257c96 
								
							 
						 
						
							
							
								
								Issue  #22777 : Test pickling with all protocols.  
							
							
							
						 
						
							2014-12-15 14:03:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Yury Selivanov 
								
							 
						 
						
							
							
							
							
								
							
							
								97e2e06af8 
								
							 
						 
						
							
							
								
								os: Include posix functions in os.__all__. Closes issue  #18554 .  
							
							... 
							
							
							
							Patch by Ronald Oussoren. 
							
						 
						
							2014-09-26 12:33:06 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								1db9e7bb19 
								
							 
						 
						
							
							
								
								Issue  #22054 : Add os.get_blocking() and os.set_blocking() functions to get and  
							
							... 
							
							
							
							set the blocking mode of a file descriptor (False if the O_NONBLOCK flag is
set, True otherwise). These functions are not available on Windows. 
							
						 
						
							2014-07-29 22:32:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5c6e6fc57e 
								
							 
						 
						
							
							
								
								Issue  #21932 : Skip test_os.test_large_read() on 32-bit system  
							
							
							
						 
						
							2014-07-12 11:03:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								6e1ccfe872 
								
							 
						 
						
							
							
								
								Issue  #21932 : Ooops, os.read(fd, size) allocates a buffer of size bytes, even  
							
							... 
							
							
							
							if the file is much smaller. Add @bigmemtest decorator to the new
test_large_read(). 
							
						 
						
							2014-07-11 17:35:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								b28ed92dd0 
								
							 
						 
						
							
							
								
								Issue  #21932 : os.read() now uses a :c:func:Py_ssize_t type instead of  
							
							... 
							
							
							
							:c:type:`int` for the size to support reading more than 2 GB at once. On
Windows, the size is truncted to INT_MAX. As any call to os.read(), the OS
may read less bytes than the number of requested bytes. 
							
						 
						
							2014-07-11 17:04:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								63f277b694 
								
							 
						 
						
							
							
								
								Issue  #21741 : Add st_file_attributes to os.stat_result on Windows.  
							
							... 
							
							
							
							Patch by Ben Hoyt. 
							
						 
						
							2014-06-19 09:46:37 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								ab6b9f8a5b 
								
							 
						 
						
							
							
								
								Issue  #22585 : make URandomFDTests test case actually run  
							
							
							
						 
						
							2015-03-17 04:30:08 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Golden 
								
							 
						 
						
							
							
							
							
								
							
							
								0321cf2550 
								
							 
						 
						
							
							
								
								Issue18314 Allow unlink to remove junctions. Includes support for creating junctions. Patch by Kim Gräsman  
							
							
							
						 
						
							2014-05-05 19:46:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Golden 
								
							 
						 
						
							
							
							
							
								
							
							
								fbf963c064 
								
							 
						 
						
							
							
								
								Backed out changeset: 17df50df62c7  
							
							
							
						 
						
							2014-04-27 18:35:36 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Golden 
								
							 
						 
						
							
							
							
							
								
							
							
								4675d798bf 
								
							 
						 
						
							
							
								
								Issue  #18314  os.unlink will now remove junction points on Windows. Patch by Kim Gräsman.  
							
							
							
						 
						
							2014-04-27 18:00:10 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								e472aeafc3 
								
							 
						 
						
							
							
								
								Issue  #21207 : Detect when the os.urandom cached fd has been closed or replaced, and open it anew.  
							
							
							
						 
						
							2014-04-26 14:33:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9dc203fff9 
								
							 
						 
						
							
							
								
								merge 3.3 ( #21082 )  
							
							
							
						 
						
							2014-04-01 19:18:48 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								4717e2112b 
								
							 
						 
						
							
							
								
								merge 3.2 ( #21082 )  
							
							
							
						 
						
							2014-04-01 19:17:57 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ee5f1c13d1 
								
							 
						 
						
							
							
								
								remove directory mode check from makedirs ( closes   #21082 )  
							
							
							
						 
						
							2014-04-01 19:13:18 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								149e540adf 
								
							 
						 
						
							
							
								
								(Merge 3.3) Issue  #20113 : os.readv() and os.writev() now raise an OSError  
							
							... 
							
							
							
							exception on error instead of returning -1. 
							
						 
						
							2014-01-08 15:26:12 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								57ddf78b6b 
								
							 
						 
						
							
							
								
								Issue  #20113 : os.readv() and os.writev() now raise an OSError exception on  
							
							... 
							
							
							
							error instead of returning -1. 
							
						 
						
							2014-01-08 15:21:28 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								101d9e7250 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:44:27 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Zachary Ware 
								
							 
						 
						
							
							
							
							
								
							
							
								9fe6d86709 
								
							 
						 
						
							
							
								
								Issue 19572: More silently skipped tests explicitly skipped.  
							
							
							
						 
						
							2013-12-08 00:20:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								43767638a9 
								
							 
						 
						
							
							
								
								Issue  #18702 : All skipped tests now reported as skipped.  
							
							
							
						 
						
							2013-11-03 21:31:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7908068627 
								
							 
						 
						
							
							
								
								Issue  #18702 : All skipped tests now reported as skipped.  
							
							
							
						 
						
							2013-11-03 21:31:18 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Golden 
								
							 
						 
						
							
							
							
							
								
							
							
								1cc3540669 
								
							 
						 
						
							
							
								
								Correct whitespace in test_os  
							
							
							
						 
						
							2013-10-25 21:26:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Tim Golden 
								
							 
						 
						
							
							
							
							
								
							
							
								781bbebacb 
								
							 
						 
						
							
							
								
								Issue13234 Allow listdir to handle extended paths on Windows (Patch by Santoso Wijaya)  
							
							
							
						 
						
							2013-10-25 20:24:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								370cb25307 
								
							 
						 
						
							
							
								
								test_os: report tests as skipped when os.statvfs() fails with ENOSYS  
							
							
							
						 
						
							2013-10-12 01:33:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								2582762b1b 
								
							 
						 
						
							
							
								
								Issue  #19209 : Remove import of copyreg from the os module to speed up  
							
							... 
							
							
							
							interpreter startup. stat_result and statvfs_result are now hard-coded to
reside in the os module.
The patch is based on Victor Stinner's patch. 
							
						 
						
							2013-10-12 01:27:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4f7a36f84f 
								
							 
						 
						
							
							
								
								Issue  #18904 : test_os and test_socket use unittest.skipIf() to check if fcntl  
							
							... 
							
							
							
							module is present (to record skipped tests) 
							
						 
						
							2013-09-08 14:14:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7ba6b0f943 
								
							 
						 
						
							
							
								
								Issue  #18904 : Improve os.get/set_inheritable() tests  
							
							
							
						 
						
							2013-09-08 11:47:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								daf455554b 
								
							 
						 
						
							
							
								
								Issue  #18571 : Implementation of the PEP 446: file descriptors and file handles  
							
							... 
							
							
							
							are now created non-inheritable; add functions os.get/set_inheritable(),
os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). 
							
						 
						
							2013-08-28 00:53:59 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								f5e30d8b54 
								
							 
						 
						
							
							
								
								Issue  #18756 : make test_urandom_failure more robust by executing its code in a subprocess  
							
							
							
						 
						
							2013-08-24 20:52:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								eba25bafc7 
								
							 
						 
						
							
							
								
								Issue  #18756 : make test_urandom_failure more robust by executing its code in a subprocess  
							
							
							
						 
						
							2013-08-24 20:52:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								a93c6db68b 
								
							 
						 
						
							
							
								
								(Merge 3.3)  Close   #17702 : On error, os.environb now removes suppress the except  
							
							... 
							
							
							
							context when raising a new KeyError with the original key. 
							
						 
						
							2013-08-23 19:23:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								0c2dd0c0a9 
								
							 
						 
						
							
							
								
								Close   #17702 : On error, os.environb now removes suppress the except context  
							
							... 
							
							
							
							when raising a new KeyError with the original key. 
							
						 
						
							2013-08-23 19:19:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								95b21460ee 
								
							 
						 
						
							
							
								
								Issue  #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.  
							
							
							
						 
						
							2013-08-16 20:49:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								ec34ab5010 
								
							 
						 
						
							
							
								
								Issue  #18756 : Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.  
							
							
							
						 
						
							2013-08-16 20:44:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								f0e521036c 
								
							 
						 
						
							
							
								
								(Merge 3.3) Issue  #18296 : Try to fix TestSendfile.test_trailers() of test_os on FreeBSD  
							
							
							
						 
						
							2013-08-15 11:57:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5e4d6398a1 
								
							 
						 
						
							
							
								
								Issue  #18296 : Try to fix TestSendfile.test_trailers() of test_os on FreeBSD  
							
							
							
						 
						
							2013-08-15 11:57:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Terry Jan Reedy 
								
							 
						 
						
							
							
							
							
								
							
							
								4a0b6f70f6 
								
							 
						 
						
							
							
								
								Issue  #15301 : skip new test method so Windows builtbots stop failing.  
							
							
							
						 
						
							2013-08-10 20:58:59 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Larry Hastings 
								
							 
						 
						
							
							
							
							
								
							
							
								a27b83ad2d 
								
							 
						 
						
							
							
								
								Issue  #15301 : Parsing fd, uid, and gid parameters for builtins  
							
							... 
							
							
							
							in Modules/posixmodule.c is now far more robust. 
							
						 
						
							2013-08-08 00:19:50 -07:00