Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								bc9d8f838b 
								
							 
						 
						
							
							
								
								merge from 3.2  
							
							
							
						 
						
							2011-07-03 21:05:25 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Senthil Kumaran 
								
							 
						 
						
							
							
							
							
								
							
							
								cc78c443f2 
								
							 
						 
						
							
							
								
								merge from 3.2  
							
							
							
						 
						
							2011-07-03 18:22:14 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5a21e83119 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12467 : warnings: fix a race condition if a warning is  
							
							... 
							
							
							
							emitted at shutdown, if globals()['__file__'] is None. 
							
						 
						
							2011-07-04 02:56:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7d8c8a095a 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12451 : runpy: run_path() now opens the Python script in  
							
							... 
							
							
							
							binary mode, instead of text mode using the locale encoding, to support other
encodings than UTF-8 (scripts using the coding cookie). 
							
						 
						
							2011-07-04 01:47:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								536feac7f8 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-07-03 16:27:41 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								7b7099c36f 
								
							 
						 
						
							
							
								
								merge 3.2 ( #12475 )  
							
							
							
						 
						
							2011-07-03 13:48:36 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								aeaeefa88b 
								
							 
						 
						
							
							
								
								Remove mention of medical condition from the test suite.  
							
							
							
						 
						
							2011-07-03 19:22:42 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								db4120bf9d 
								
							 
						 
						
							
							
								
								merge  #12147 : make send_message correctly handle Sender and Resent- headers.  
							
							
							
						 
						
							2011-07-02 21:10:44 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								ac4e5abc78 
								
							 
						 
						
							
							
								
								#12147 : make send_message correctly handle Sender and Resent- headers.  
							
							... 
							
							
							
							Original patch by Nicolas Estibals.  My tweaks to the patch were mostly
style/cosmetic, and adding more tests. 
							
						 
						
							2011-07-02 21:03:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								020436b0d4 
								
							 
						 
						
							
							
								
								Issue  #12456 : fix a possible hang on shutdown of a concurrent.futures.ProcessPoolExecutor.  
							
							
							
						 
						
							2011-07-02 21:20:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								65897a386e 
								
							 
						 
						
							
							
								
								Closes   #12291  for 3.3 - merged fix from 3.2.  
							
							
							
						 
						
							2011-07-02 17:16:02 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								5bdae3bb7c 
								
							 
						 
						
							
							
								
								Closes   #12291 : Fixed bug which was found when doing  multiple loads from one stream.  
							
							
							
						 
						
							2011-07-02 16:42:47 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								2ee61884fe 
								
							 
						 
						
							
							
								
								Clean up NEWS entry and tests for shutil.disk_usage ( #12442 )  
							
							
							
						 
						
							2011-07-02 16:45:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								723585bbaf 
								
							 
						 
						
							
							
								
								Merge issue  #12352 : Fix a deadlock in multiprocessing.Heap when a block is  
							
							... 
							
							
							
							freed by the garbage collector while the Heap lock is held. 
							
						 
						
							2011-07-02 14:43:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								a4a04069fd 
								
							 
						 
						
							
							
								
								Merge issue  #12352 : Fix a deadlock in multiprocessing.Heap when a block is  
							
							... 
							
							
							
							freed by the garbage collector while the Heap lock is held. 
							
						 
						
							2011-07-02 14:39:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-François Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								778db49da9 
								
							 
						 
						
							
							
								
								Issue  #12352 : Fix a deadlock in multiprocessing.Heap when a block is freed by  
							
							... 
							
							
							
							the garbage collector while the Heap lock is held. 
							
						 
						
							2011-07-02 14:35:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								7ae4448ed2 
								
							 
						 
						
							
							
								
								merge  #11873 : another try at fixing the regex, courtesy of Victor Stinner  
							
							
							
						 
						
							2011-07-01 14:57:00 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								ee1a7cb4a4 
								
							 
						 
						
							
							
								
								#11873 : another try at fixing the regex, courtesy of Victor Stinner  
							
							
							
						 
						
							2011-07-01 14:55:43 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								296b96c635 
								
							 
						 
						
							
							
								
								merge  #11873 : fix test regex so it covers windows os.sep as well.  
							
							
							
						 
						
							2011-07-01 11:53:19 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									R David Murray 
								
							 
						 
						
							
							
							
							
								
							
							
								a3bb2f5514 
								
							 
						 
						
							
							
								
								#11873 : fix test regex so it covers windows os.sep as well.  
							
							
							
						 
						
							2011-07-01 11:51:50 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								19e5bcdd9c 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12363 : increase the timeout of siginterrupt() tests  
							
							... 
							
							
							
							Move also the "ready" trigger after the installation of the signal handler and
the call to siginterrupt().
Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
but some of our buildbots are really slow (especially the FreeBSD 6 VM). 
							
						 
						
							2011-07-01 15:59:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								dfde0d4650 
								
							 
						 
						
							
							
								
								Issue  #12363 : increase the timeout of siginterrupt() tests  
							
							... 
							
							
							
							Move also the "ready" trigger after the installation of the signal handler and
the call to siginterrupt().
Use a timeout of 5 seconds instead of 3. Two seconds are supposed to be enough,
but some of our buildbots are really slow (especially the FreeBSD 6 VM). 
							
						 
						
							2011-07-01 15:58:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								8d64248c69 
								
							 
						 
						
							
							
								
								Issue  #12363 : improve siginterrupt() tests  
							
							... 
							
							
							
							Backport commits 968b9ff9a059 and aff0a7b0cb12 from the default branch to 3.2
branch. Extract of the changelog messages:
"The previous tests used time.sleep() to synchronize two processes. If the host
was too slow, the test could fail.
The new tests only use one process, but they use a subprocess to:
- have only one thread
- have a timeout on the blocking read (select cannot be used in the test,
select always fail with EINTR, the kernel doesn't restart it)
- not touch signal handling of the parent process"
and
"Add a basic synchronization code between the child and the parent processes:
the child writes "ready" to stdout."
I replaced .communicate(timeout=3.0) by an explicit waiting loop using
Popen.poll(). 
							
						 
						
							2011-07-01 15:24:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								2555b0aac7 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #11870 : Skip test_threading.test_2_join_in_forked_process()  
							
							... 
							
							
							
							on platforms with known OS bugs
Share the list of platforms with known OS bugs with other tests. Patch written
by Charles-François Natali. 
							
						 
						
							2011-07-01 14:53:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								26d318690f 
								
							 
						 
						
							
							
								
								Issue  #11870 : Skip test_threading.test_2_join_in_forked_process() on platforms  
							
							... 
							
							
							
							with known OS bugs
Share the list of platforms with known OS bugs with other tests. Patch written
by Charles-François Natali. 
							
						 
						
							2011-07-01 14:26:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giampaolo Rodola' 
								
							 
						 
						
							
							
							
							
								
							
							
								210e7ca032 
								
							 
						 
						
							
							
								
								Issue  #12442 : add shutil.disk_usage()  
							
							
							
						 
						
							2011-07-01 13:55:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								59929d9877 
								
							 
						 
						
							
							
								
								(merge 3.2) test_os: remove now useless TemporaryFileTests testcase  
							
							... 
							
							
							
							TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions
removed from Python 3.
Move fdopen() tests to the FileTests testcase to test fdopen() on a file
descriptor, not on a directory descriptor (which raises an error on Windows). 
							
						 
						
							2011-07-01 13:47:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								bef7fdfc04 
								
							 
						 
						
							
							
								
								test_os: remove now useless TemporaryFileTests testcase  
							
							... 
							
							
							
							TemporaryFileTests has tests for os.tempnam() and os.tmpfile(), functions
removed from Python 3.
Move fdopen() tests to the FileTests testcase to test fdopen() on a file
descriptor, not on a directory descriptor (which raises an error on Windows). 
							
						 
						
							2011-07-01 13:45:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4497445b3f 
								
							 
						 
						
							
							
								
								(merge 3.2) test_os: add TemporaryFileTests to the testcase list  
							
							... 
							
							
							
							The testcase was never executed, it's now fixed. 
							
						 
						
							2011-07-01 02:57:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								98b3722bf7 
								
							 
						 
						
							
							
								
								test_os: add TemporaryFileTests to the testcase list  
							
							... 
							
							
							
							The testcase was never executed, it's now fixed. 
							
						 
						
							2011-07-01 02:56:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								bf816223df 
								
							 
						 
						
							
							
								
								Issue  #12451 : Add support.create_empty_file()  
							
							... 
							
							
							
							We don't need to create a temporary buffered binary or text file object just to
create an empty file.
Replace also os.fdopen(handle).close() by os.close(handle). 
							
						 
						
							2011-06-30 23:25:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								61600cb0c3 
								
							 
						 
						
							
							
								
								Issue  #12407 : Explicitly skip test_capi.EmbeddingTest under Windows.  
							
							
							
						 
						
							2011-06-30 20:04:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								71cbafbda1 
								
							 
						 
						
							
							
								
								Issue  #12407 : Explicitly skip test_capi.EmbeddingTest under Windows.  
							
							
							
						 
						
							2011-06-30 20:02:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Giampaolo Rodola' 
								
							 
						 
						
							
							
							
							
								
							
							
								5de1532163 
								
							 
						 
						
							
							
								
								Issue 12139: ftplib - remove 'post CCC' test to fix various buildot failures due to dummy test server not properly handling SSL shutdown(), see  http://bugs.python.org/msg139499  
							
							
							
						 
						
							2011-06-30 18:34:41 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								938f635acb 
								
							 
						 
						
							
							
								
								Issue  #12451 : Open the test file in binary mode in test_bz2, the text file is  
							
							... 
							
							
							
							not needed. 
							
						 
						
							2011-06-30 18:25:07 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								2f655b73e4 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12451 : Open files in binary mode in some tests when the text  
							
							... 
							
							
							
							file is not needed.
Remove also an unused variable (blank) in test_threading. 
							
						 
						
							2011-06-30 18:21:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								a6d2c769fb 
								
							 
						 
						
							
							
								
								Issue  #12451 : Open files in binary mode in some tests when the text file is not  
							
							... 
							
							
							
							needed.
Remove also an unused variable (blank) in test_threading. 
							
						 
						
							2011-06-30 18:20:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								319672e8a6 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12451 : pydoc.synopsis() now reads the encoding cookie if  
							
							... 
							
							
							
							available, to read the Python script from the right encoding. 
							
						 
						
							2011-06-30 15:58:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e6c910e953 
								
							 
						 
						
							
							
								
								Issue  #12451 : pydoc.synopsis() now reads the encoding cookie if available, to  
							
							... 
							
							
							
							read the Python script from the right encoding. 
							
						 
						
							2011-06-30 15:55:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7f86811d55 
								
							 
						 
						
							
							
								
								Issue  #12400 : test_cprofile now restores correctly the previous sys.stderr  
							
							... 
							
							
							
							Copy sys.stderr before replacing it, instead of using sys.__stderr__ 
							
						 
						
							2011-06-30 00:00:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7248850bee 
								
							 
						 
						
							
							
								
								Issue  #12400 : test_faulthandler now uses sys.__stderr__  
							
							... 
							
							
							
							instead of open(os.devnull, 'w') 
							
						 
						
							2011-06-29 23:24:31 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e15bfeb8ce 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12400 : regrtest.runtest() uses stream.seek(0) before .truncate()  
							
							... 
							
							
							
							.truncate(0) doesn't rewind. 
							
						 
						
							2011-06-29 20:03:13 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								fcc2a21fae 
								
							 
						 
						
							
							
								
								Issue  #12400 : regrtest.runtest() uses stream.seek(0) before .truncate()  
							
							... 
							
							
							
							.truncate(0) doesn't rewind. 
							
						 
						
							2011-06-29 20:01:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e6db1440d8 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12400 : test_zipimport_support doesn't restore original  
							
							... 
							
							
							
							sys.stdout anymore
regrtest doesn't check that a test doesn't output anything anymore. 
							
						 
						
							2011-06-29 18:12:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								592f679dce 
								
							 
						 
						
							
							
								
								Issue  #12400 : test_zipimport_support doesn't restore original sys.stdout  
							
							... 
							
							
							
							anymore
regrtest doesn't check that a test doesn't output anything anymore. 
							
						 
						
							2011-06-29 18:11:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								fa832dea2a 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12400 : runtest() truncates the StringIO stream before a new  
							
							... 
							
							
							
							test 
							
						 
						
							2011-06-29 17:29:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								85b3a492d6 
								
							 
						 
						
							
							
								
								Issue  #12400 : runtest() truncates the StringIO stream before a new test  
							
							
							
						 
						
							2011-06-29 17:26:38 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								68416f0ae5 
								
							 
						 
						
							
							
								
								(merge 3.2) Issue  #12400 : Add missing import (os) to test_kqueue  
							
							
							
						 
						
							2011-06-29 17:20:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								125b2ba41e 
								
							 
						 
						
							
							
								
								Issue  #12400 : Add missing import (os) to test_kqueue  
							
							
							
						 
						
							2011-06-29 17:20:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								05d34fc953 
								
							 
						 
						
							
							
								
								Issue  #12400 : test.support.run_doctest() doesn't change sys.stdout anymore  
							
							... 
							
							
							
							regrtest doesn't check that tests doesn't write something to stdout anymore.
Don't replace sys.stdout by the original sys.stdout to be able to capture the
output for regrtest -W. 
							
						 
						
							2011-06-29 15:53:11 +02:00