Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								e92cd0ce98 
								
							 
						 
						
							
							
								
								merge 3.2 ( #11627 )  
							
							
							
						 
						
							2011-07-15 14:10:35 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								5afa03a72e 
								
							 
						 
						
							
							
								
								catch nasty exception classes with __new__ that doesn't return a exception ( closes   #11627 )  
							
							... 
							
							
							
							Patch from Andreas Stührk. 
							
						 
						
							2011-07-15 14:09:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								ecf4fdad50 
								
							 
						 
						
							
							
								
								Py_BuildValue("C") supports non-BMP characters on narrow build  
							
							... 
							
							
							
							Py_BuildValue("C") doesn't have to check the code point,
PyUnicode_FromOrdinal() checks its input and now supports non-BMP characters
(range U+10000-U+10FFFF). 
							
						 
						
							2011-07-15 01:13:24 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								370092071b 
								
							 
						 
						
							
							
								
								Issue  #11863 : Remove support for legacy systems deprecated in Python 3.2  
							
							... 
							
							
							
							(following PEP 11).  These systems are systems using Mach C Threads,
SunOS lightweight processes, GNU pth threads and IRIX threads. 
							
						 
						
							2011-07-08 23:47:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								022ae22cc6 
								
							 
						 
						
							
							
								
								Issue  #11863 : remove unused file Python/thread_wince.h  
							
							
							
						 
						
							2011-07-08 23:37:39 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9797e29f86 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-07-04 22:28:00 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								bb4a747b69 
								
							 
						 
						
							
							
								
								start out this branch always with filename NULL  
							
							
							
						 
						
							2011-07-04 22:27:16 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								87e78ce1c6 
								
							 
						 
						
							
							
								
								Issue  #12469 : partial revert of 024827a9db64, freebsd6 thread initialization  
							
							... 
							
							
							
							* Don't create a thread at startup anymore to initialize the pthread library:
   it changes the behaviour of many functions related to signal handling like
   sigwait()
 * Reenable test_sigtimedwait_poll() on FreeBSD 6 
							
						 
						
							2011-07-04 22:53:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								99b9538636 
								
							 
						 
						
							
							
								
								Issue  #9642 : Uniformize the tests on the availability of the mbcs codec  
							
							... 
							
							
							
							Add a new HAVE_MBCS define. 
							
						 
						
							2011-07-04 14:23:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								d64e8a75e5 
								
							 
						 
						
							
							
								
								Issue  #9642 : Fix filesystem encoding initialization: use the ANSI code page on  
							
							... 
							
							
							
							Windows if the mbcs codec is not available, and fail with a fatal error if we
cannot get the locale encoding (if nl_langinfo(CODESET) is not available)
instead of using UTF-8. 
							
						 
						
							2011-07-04 13:48:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								401d197657 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-07-03 22:19:29 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								a55007a620 
								
							 
						 
						
							
							
								
								plug refleak  
							
							
							
						 
						
							2011-07-03 22:18:34 -05: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 
								
							 
						 
						
							
							
							
							
								
							
							
								8b0508ed4e 
								
							 
						 
						
							
							
								
								Issue  #12467 : warnings: fix a race condition if a warning is emitted at  
							
							... 
							
							
							
							shutdown, if globals()['__file__'] is None. 
							
						 
						
							2011-07-04 02:43:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9bfd0dee9b 
								
							 
						 
						
							
							
								
								no one passes NULL here (or should anyway)  
							
							
							
						 
						
							2011-07-03 17:06:32 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								878802435d 
								
							 
						 
						
							
							
								
								convert generator exc state functions into static functions  
							
							
							
						 
						
							2011-07-03 16:48:31 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								536feac7f8 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-07-03 16:27:41 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ac91341333 
								
							 
						 
						
							
							
								
								never retain a generator's caller's exception state on the generator after a yield/return  
							
							... 
							
							
							
							This requires some trickery to properly save the exception state if the
generator creates its own exception state. 
							
						 
						
							2011-07-03 16:25:11 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								7b7099c36f 
								
							 
						 
						
							
							
								
								merge 3.2 ( #12475 )  
							
							
							
						 
						
							2011-07-03 13:48:36 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d2ed630243 
								
							 
						 
						
							
							
								
								merge heads  
							
							
							
						 
						
							2011-07-03 13:44:56 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								83195c3f0c 
								
							 
						 
						
							
							
								
								restore a generator's caller's exception state both on yield and (last) return  
							
							... 
							
							
							
							This prevents generator exception state from leaking into the caller.
Closes  #12475 . 
							
						 
						
							2011-07-03 13:44:00 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								aac0f75b3b 
								
							 
						 
						
							
							
								
								Correct uninitialized data problem in marshal code.  
							
							
							
						 
						
							2011-07-02 18:42:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								3232284391 
								
							 
						 
						
							
							
								
								Removed breaking typo accidentally introduced during merge with 3.2.  
							
							
							
						 
						
							2011-07-02 17:19:51 +01: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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9d872e19aa 
								
							 
						 
						
							
							
								
								fix possibily uninitialized memory usage ( closes   #12474 )  
							
							
							
						 
						
							2011-07-02 09:22:13 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								609da58ae5 
								
							 
						 
						
							
							
								
								store the current scope on the stack right away  
							
							
							
						 
						
							2011-06-29 22:52:39 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								c2575d55cd 
								
							 
						 
						
							
							
								
								remove VISIT_*_IN_BLOCK macros  
							
							... 
							
							
							
							These are pointless because on error, all blocks will be finalized by
symtable_dealloc. 
							
						 
						
							2011-06-29 15:27:14 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9003760991 
								
							 
						 
						
							
							
								
								map cells to arg slots at code creation time ( closes   #12399 )  
							
							... 
							
							
							
							This removes nested loops in PyEval_EvalCodeEx. 
							
						 
						
							2011-06-25 22:54:45 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e71db4450c 
								
							 
						 
						
							
							
								
								Issue  #12392 : fix thread initialization on FreeBSD 6  
							
							... 
							
							
							
							On FreeBSD6, pthread_kill() doesn't work on the main thread before the creation
of the first thread. Create therefore a dummy thread (no-op) a startup to
initialize the pthread library.
Add also a test for this use case, test written by Charles-François Natali. 
							
						 
						
							2011-06-24 20:52:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								e109c70860 
								
							 
						 
						
							
							
								
								give the names of missing positional or keyword-only arguments ( closes   #12356 )  
							
							
							
						 
						
							2011-06-24 09:37:26 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								28db0fd357 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-06-20 22:09:20 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								b7149cad04 
								
							 
						 
						
							
							
								
								fix indentation  
							
							
							
						 
						
							2011-06-20 22:09:13 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								267ca6cb23 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-06-20 21:40:46 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								f63d615f8b 
								
							 
						 
						
							
							
								
								fix indentation  
							
							
							
						 
						
							2011-06-20 21:40:19 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								d417d01ec8 
								
							 
						 
						
							
							
								
								call_find_module() handles dup() failure: raise an OSError exception  
							
							
							
						 
						
							2011-06-20 15:16:55 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								925ef39949 
								
							 
						 
						
							
							
								
								find_module_path_list() fails if _Py_fopen() failed and raised an exception  
							
							... 
							
							
							
							(UnicodeEncodeError). 
							
						 
						
							2011-06-20 15:01:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								e7c15fa184 
								
							 
						 
						
							
							
								
								bump magic for super closure change  
							
							
							
						 
						
							2011-06-19 19:54:45 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								f5ff22329b 
								
							 
						 
						
							
							
								
								use a invalid name for the __class__ closure for super() ( closes   #12370 )  
							
							... 
							
							
							
							This prevents the assignment of __class__ in the class body from breaking
super. (Although a determined person could do locals()["@__class__"] = 4) 
							
						 
						
							2011-06-19 19:42:22 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								589f89e2ad 
								
							 
						 
						
							
							
								
								Removed a Windows 9x trick used before LoadLibraryExW.  
							
							... 
							
							
							
							Windows 9x has long been unsupported and the result of GetFullPathName
was not even being used in the first place. 
							
						 
						
							2011-06-09 17:55:54 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								b204a42383 
								
							 
						 
						
							
							
								
								greatly improve argument parsing error messages ( closes   #12265 )  
							
							
							
						 
						
							2011-06-05 22:04:07 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								48deae12d5 
								
							 
						 
						
							
							
								
								some horrible preprocessing tricks to automatically update the tag  
							
							
							
						 
						
							2011-06-03 17:50:16 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								623e8b86af 
								
							 
						 
						
							
							
								
								Removed some unused local variables.  
							
							
							
						 
						
							2011-07-02 17:21:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								04a90b4611 
								
							 
						 
						
							
							
								
								bump ast version  
							
							
							
						 
						
							2011-05-29 11:45:29 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								43af12b0b4 
								
							 
						 
						
							
							
								
								unify TryExcept and TryFinally ( closes   #12199 )  
							
							
							
						 
						
							2011-05-29 11:43:10 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								61be422bd7 
								
							 
						 
						
							
							
								
								Issue  #9670 : Increase the default stack size for secondary threads on  
							
							... 
							
							
							
							Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren) 
							
						 
						
							2011-05-28 00:45:52 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								056f5b9dad 
								
							 
						 
						
							
							
								
								Issue  #9670 : Increase the default stack size for secondary threads on  
							
							... 
							
							
							
							Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren) 
							
						 
						
							2011-05-28 00:36:12 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ned Deily 
								
							 
						 
						
							
							
							
							
								
							
							
								9a7c524dc6 
								
							 
						 
						
							
							
								
								Issue  #9670 : Increase the default stack size for secondary threads on  
							
							... 
							
							
							
							Mac OS X and FreeBSD to reduce the chances of a crash instead of a
"maximum recursion depth" RuntimeError exception.
(patch by Ronald Oussoren) 
							
						 
						
							2011-05-28 00:19:56 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d8255e0e9e 
								
							 
						 
						
							
							
								
								merge 3.2  
							
							
							
						 
						
							2011-05-27 14:17:35 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								a290bac5b1 
								
							 
						 
						
							
							
								
								merge 3.1  
							
							
							
						 
						
							2011-05-27 14:17:19 -05:00