Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								5395d2f07d 
								
							 
						 
						
							
							
								
								Add yet another test for subprocess.Popen.communicate  
							
							
							
						 
						
							2012-08-15 22:46:43 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								aa0dbdc2dd 
								
							 
						 
						
							
							
								
								Issue  #15592 . Fix regression: subprocess.communicate() breaks on no input with universal newlines true.  
							
							... 
							
							
							
							Patch by Chris Jerdonek. 
							
						 
						
							2012-08-14 18:40:21 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								f3765071eb 
								
							 
						 
						
							
							
								
								Add test to explicit check the absence regression in subprocess (issue  #15592 ).  
							
							... 
							
							
							
							Patch by Chris Jerdonek. 
							
						 
						
							2012-08-14 18:35:17 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								6f1a40ffd3 
								
							 
						 
						
							
							
								
								Merge universal newlines-related fixes (issue  #13119 )  
							
							
							
						 
						
							2012-08-05 00:25:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								ec2d26930c 
								
							 
						 
						
							
							
								
								Fix universal newlines test to avoid the newline translation done by sys.stdout.  
							
							
							
						 
						
							2012-08-05 00:23:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								7ded1f0f69 
								
							 
						 
						
							
							
								
								Implemented PEP 405 (Python virtual environments).  
							
							
							
						 
						
							2012-05-26 03:45:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								b69ef16fe6 
								
							 
						 
						
							
							
								
								Issue  #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.  
							
							
							
						 
						
							2012-03-11 19:33:29 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								1f9a835400 
								
							 
						 
						
							
							
								
								Issue  #14252 : Fix subprocess.Popen.terminate() to not raise an error under Windows when the child process has already exited.  
							
							
							
						 
						
							2012-03-11 19:29:12 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ross Lagerwall 
								
							 
						 
						
							
							
							
							
								
							
							
								e7ad419058 
								
							 
						 
						
							
							
								
								Fix sporadic test_subprocess regression introduced by 834650d63130.  
							
							
							
						 
						
							2012-02-22 06:02:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								2fb477c0f0 
								
							 
						 
						
							
							
								
								Merge 3.2: Issue  #13703  plus some related test suite fixes.  
							
							
							
						 
						
							2012-02-21 00:33:36 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								a86b262d1e 
								
							 
						 
						
							
							
								
								Fix bad inheritance in test_subprocess that led to a number of tests being executed twice.  
							
							
							
						 
						
							2012-02-20 21:34:57 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ross Lagerwall 
								
							 
						 
						
							
							
							
							
								
							
							
								003c7a3fca 
								
							 
						 
						
							
							
								
								Fix a typo.  
							
							
							
						 
						
							2012-02-12 09:02:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ross Lagerwall 
								
							 
						 
						
							
							
							
							
								
							
							
								ab66d2a6cb 
								
							 
						 
						
							
							
								
								Attempt to speed up some subprocess tests (and hopefully keep them reliable).  
							
							
							
						 
						
							2012-02-12 09:01:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								0648458b84 
								
							 
						 
						
							
							
								
								Fix a unittest error seen on NetBSD 5.  
							
							
							
						 
						
							2012-01-21 22:06:09 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								886455cc4e 
								
							 
						 
						
							
							
								
								Fix a unittest error seen on NetBSD 5.  
							
							
							
						 
						
							2012-01-21 22:05:10 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								d635af5a61 
								
							 
						 
						
							
							
								
								Fixes issue  #8052 : The posix subprocess module's close_fds behavior was  
							
							... 
							
							
							
							suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are. 
							
						 
						
							2012-01-21 14:39:29 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								8facece99a 
								
							 
						 
						
							
							
								
								Fixes issue  #8052 : The posix subprocess module's close_fds behavior was  
							
							... 
							
							
							
							suboptimal by closing all possible file descriptors rather than just
the open ones in the child process before exec().
It now closes only the open fds when it is possible to safely determine what
those are. 
							
						 
						
							2012-01-21 14:01:08 -08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ce2af33562 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-12-10 12:44:37 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								b870aa1255 
								
							 
						 
						
							
							
								
								we're always going to have gc  
							
							
							
						 
						
							2011-12-10 12:44:25 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d3a345a21f 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-12-10 12:38:52 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								964561bb7c 
								
							 
						 
						
							
							
								
								you can't get resource.error if you can't import resource  
							
							
							
						 
						
							2011-12-10 12:31:42 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nadeem Vawda 
								
							 
						 
						
							
							
							
							
								
							
							
								74adbaa7bd 
								
							 
						 
						
							
							
								
								Merge: Fix ResourceWarnings in test_subprocess.  
							
							
							
						 
						
							2011-08-19 05:14:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nadeem Vawda 
								
							 
						 
						
							
							
							
							
								
							
							
								0d7cda3e63 
								
							 
						 
						
							
							
								
								Fix ResourceWarnings in test_subprocess.  
							
							
							
						 
						
							2011-08-19 05:12:01 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								2736c5d47c 
								
							 
						 
						
							
							
								
								Issue  #12650 : fix failures on some buildbots, when a subprocess takes a long  
							
							... 
							
							
							
							time to spawn. 
							
						 
						
							2011-08-19 00:25:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								72d161af51 
								
							 
						 
						
							
							
								
								Issue  #12650 : fix failures on some buildbots, when a subprocess takes a long  
							
							... 
							
							
							
							time to spawn. 
							
						 
						
							2011-08-19 00:24:00 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								c07f3be4e0 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-08-18 13:55:31 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								134a8baed9 
								
							 
						 
						
							
							
								
								Issue  #12650 : Fix a race condition where a subprocess.Popen could leak  
							
							... 
							
							
							
							resources (FD/zombie) when killed at the wrong time. 
							
						 
						
							2011-08-18 18:49:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ross Lagerwall 
								
							 
						 
						
							
							
							
							
								
							
							
								114f0e499d 
								
							 
						 
						
							
							
								
								Issue  #12607 : Merge with 3.2.  
							
							
							
						 
						
							2011-07-27 07:39:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ross Lagerwall 
								
							 
						 
						
							
							
							
							
								
							
							
								d98646e430 
								
							 
						 
						
							
							
								
								Issue  #12607 : In subprocess, fix issue where if stdin, stdout or stderr is  
							
							... 
							
							
							
							given as a low fd, it gets overwritten. 
							
						 
						
							2011-07-27 07:16:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								e02891b459 
								
							 
						 
						
							
							
								
								Issue  #12591 : Improve support of "universal newlines" in the subprocess  
							
							... 
							
							
							
							module: the piped streams can now be properly read from or written to. 
							
						 
						
							2011-07-23 22:04:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								ab85ff3d1a 
								
							 
						 
						
							
							
								
								Issue  #12591 : Improve support of "universal newlines" in the subprocess  
							
							... 
							
							
							
							module: the piped streams can now be properly read from or written to.
(this was broken due to the 2.x to 3.x transition; communicate() support
is still sketchy) 
							
						 
						
							2011-07-23 22:03:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5351a1f956 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12493 : skip test_communicate_eintr() if signal.SIGALRM is missing  
							
							
							
						 
						
							2011-07-05 14:50:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								1848db891b 
								
							 
						 
						
							
							
								
								Issue  #12493 : skip test_communicate_eintr() if signal.SIGALRM is missing  
							
							
							
						 
						
							2011-07-05 14:49:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5b1261d750 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12493 : subprocess: communicate() handles EINTR  
							
							... 
							
							
							
							subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe. 
							
						 
						
							2011-07-05 14:04:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								2cfb6f3aa0 
								
							 
						 
						
							
							
								
								Issue  #12493 : subprocess: communicate() handles EINTR  
							
							... 
							
							
							
							subprocess.Popen.communicate() now also handles EINTR errors if the process has
only one pipe. 
							
						 
						
							2011-07-05 14:00:56 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								8153b7a57a 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12383 : skip test_empty_env() of subprocess on Windows  
							
							... 
							
							
							
							Cannot test an empty environment on Windows: Windows requires at least the
SYSTEMROOT environment variable to start Python. 
							
						 
						
							2011-06-23 01:02:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								62d511809d 
								
							 
						 
						
							
							
								
								Issue  #12383 : skip test_empty_env() of subprocess on Windows  
							
							... 
							
							
							
							Cannot test an empty environment on Windows: Windows requires at least the
SYSTEMROOT environment variable to start Python. 
							
						 
						
							2011-06-23 01:02:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								c0a9f75fba 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12383 : fix test_empty_env() of subprocess on Mac OS X  
							
							... 
							
							
							
							Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix
also the test on the Py_ENABLE_SHARED config varible: test that the variable is
present, don't check it's value. 
							
						 
						
							2011-06-22 21:29:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								237e5cb376 
								
							 
						 
						
							
							
								
								Issue  #12383 : fix test_empty_env() of subprocess on Mac OS X  
							
							... 
							
							
							
							Mac OS X adds __CF_USER_TEXT_ENCODING variable to an empty environment. Fix
also the test on the Py_ENABLE_SHARED config varible: test that the variable is
present, don't check it's value. 
							
						 
						
							2011-06-22 21:28:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								11cc475be7 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12383 : skip test_empty_env() if compiled is compiled in  
							
							... 
							
							
							
							shared mode
Try also to get more informations about the Mac OS X failure: display the keys
of the environment, instead of just the number of variables. 
							
						 
						
							2011-06-21 21:59:51 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								372309a551 
								
							 
						 
						
							
							
								
								Issue  #12383 : skip test_empty_env() if compiled is compiled in shared mode  
							
							... 
							
							
							
							Try also to get more informations about the Mac OS X failure: display the keys
of the environment, instead of just the number of variables. 
							
						 
						
							2011-06-21 21:59:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								372b838db5 
								
							 
						 
						
							
							
								
								(merge 3.2)  Close   #12383 : Fix subprocess module with env={}: don't copy the  
							
							... 
							
							
							
							environment variables, start with an empty environment. 
							
						 
						
							2011-06-21 17:24:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								f1512a2967 
								
							 
						 
						
							
							
								
								Close   #12383 : Fix subprocess module with env={}: don't copy the environment  
							
							... 
							
							
							
							variables, start with an empty environment. 
							
						 
						
							2011-06-21 17:18:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								149b1c7797 
								
							 
						 
						
							
							
								
								Use a sleep for test_subprocess timeout test  
							
							... 
							
							
							
							instead of an active loop (while True: pass) to limit race conditions. 
							
						 
						
							2011-06-06 23:43:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								ebbbdafd87 
								
							 
						 
						
							
							
								
								(Merge 3.2)  Close   #12230 : Mac OS X Tiger (10.4) has a kernel bug: sometimes,  
							
							... 
							
							
							
							the file descriptor of a pipe closed in the parent process is valid in the
child process according to fstat(), but the mode of the file descriptor is
invalid, and read or write raise an error.
test.support.requires_mac_ver() is now a decorator, as suggested by Ezio
Melotti, and its docstring is fixed (linux_version => mac_ver). 
							
						 
						
							2011-06-01 13:19:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								88701e27e9 
								
							 
						 
						
							
							
								
								Close   #12230 : Mac OS X Tiger (10.4) has a kernel bug: sometimes, the file  
							
							... 
							
							
							
							descriptor of a pipe closed in the parent process is valid in the child process
according to fstat(), but the mode of the file descriptor is invalid, and read
or write raise an error.
Add also requires_mac_ver() decorator to test.support. 
							
						 
						
							2011-06-01 13:13:04 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								1b5b9d7434 
								
							 
						 
						
							
							
								
								(Merge 3.2)  Close   #12085 : Fix an attribute error in subprocess.Popen destructor  
							
							... 
							
							
							
							if the constructor has failed, e.g. because of an undeclared keyword argument.
Patch written by Oleg Oshmyan. 
							
						 
						
							2011-06-01 00:58:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								87b9bc3893 
								
							 
						 
						
							
							
								
								Close   #12085 : Fix an attribute error in subprocess.Popen destructor if the  
							
							... 
							
							
							
							constructor has failed, e.g. because of an undeclared keyword argument. Patch
written by Oleg Oshmyan. 
							
						 
						
							2011-06-01 00:57:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								2d51721832 
								
							 
						 
						
							
							
								
								Issue  #12196 : Add PIPE_MAX_SIZE to test.support, constant larger than the  
							
							... 
							
							
							
							underlying OS pipe buffer size. 
							
						 
						
							2011-05-29 16:36:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								8281ba8bcb 
								
							 
						 
						
							
							
								
								follow on to the last commit, remove the final POSIXPurePythonTestCase  
							
							... 
							
							
							
							reference.  (the difference between running test_subprocess.py
directly rather than via regrtest.py) 
							
						 
						
							2011-05-28 10:00:14 -07:00