Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								834cb394c3 
								
							 
						 
						
							
							
								
								update copyright to 2011  
							
							
							
						 
						
							2011-01-01 14:28:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								8aa7e999b5 
								
							 
						 
						
							
							
								
								Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in  #1772833 .  
							
							
							
						 
						
							2010-12-28 18:30:18 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								92be939695 
								
							 
						 
						
							
							
								
								Issue  #10780 : PyErr_SetFromWindowsErrWithFilename() and  
							
							... 
							
							
							
							PyErr_SetExcFromWindowsErrWithFilename() decode the filename from the
filesystem encoding instead of UTF-8. 
							
						 
						
							2010-12-28 00:28:21 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								cb428f0162 
								
							 
						 
						
							
							
								
								Issue  #10779 : PyErr_WarnExplicit() decodes the filename from the filesystem  
							
							... 
							
							
							
							encoding instead of UTF-8. 
							
						 
						
							2010-12-27 20:10:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								810023db3e 
								
							 
						 
						
							
							
								
								Issue  #8844 : Regular and recursive lock acquisitions can now be interrupted  
							
							... 
							
							
							
							by signals on platforms using pthreads.  Patch by Reid Kleckner. 
							
						 
						
							2010-12-15 22:59:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								13d49ee7d6 
								
							 
						 
						
							
							
								
								Issue  #10601 : sys.displayhook uses 'backslashreplace' error handler on  
							
							... 
							
							
							
							UnicodeEncodeError. 
							
						 
						
							2010-12-04 17:24:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								8334fd9285 
								
							 
						 
						
							
							
								
								Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile.  
							
							
							
						 
						
							2010-12-04 10:26:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								4d0d471a80 
								
							 
						 
						
							
							
								
								Merge branches/pep-0384.  
							
							
							
						 
						
							2010-12-03 20:14:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								ebc0052e3a 
								
							 
						 
						
							
							
								
								import: use PyUnicode_FSConverter to support bytes path and PEP 383  
							
							... 
							
							
							
							(instead of PyArg_Parse*() with "es" format and Py_FileSystemDefaultEncoding) 
							
						 
						
							2010-12-03 17:06:43 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Nick Coghlan 
								
							 
						 
						
							
							
							
							
								
							
							
								b2ddf7979d 
								
							 
						 
						
							
							
								
								Issue  #9573 : os.fork now works when triggered as a side effect of import (the wisdom of actually relying on this remains questionable!)  
							
							
							
						 
						
							2010-12-02 04:11:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								e5b99f0fb3 
								
							 
						 
						
							
							
								
								Remove redundant includes of headers that are already included by Python.h.  
							
							
							
						 
						
							2010-11-30 09:41:01 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								71c23d4473 
								
							 
						 
						
							
							
								
								Include structseq.h in Python.h, and remove now-redundant includes in individual sources.  
							
							
							
						 
						
							2010-11-30 09:30:54 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								e71362d3de 
								
							 
						 
						
							
							
								
								Issue  #10518 : Bring back the callable() builtin.  
							
							... 
							
							
							
							Approved by Guido (BDFL) and Georg (RM). 
							
						 
						
							2010-11-27 22:00:11 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								0a4dae5309 
								
							 
						 
						
							
							
								
								fix refleak  
							
							
							
						 
						
							2010-11-21 15:12:34 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								5a96b5241f 
								
							 
						 
						
							
							
								
								Issue  #10255 : Fix reference leak in Py_InitializeEx().  Patch by Neil  
							
							... 
							
							
							
							Schemenauer. 
							
						 
						
							2010-11-20 19:50:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								787cddc93d 
								
							 
						 
						
							
							
								
								Merged revisions 86545 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r86545 | benjamin.peterson | 2010-11-19 22:31:07 -0600 (Fri, 19 Nov 2010) | 1 line
  new plan: functions that want 'tmp' can declare it
........ 
							
						 
						
							2010-11-20 04:37:00 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d8f6597318 
								
							 
						 
						
							
							
								
								new plan: functions that want 'tmp' can declare it  
							
							
							
						 
						
							2010-11-20 04:31:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								e82c169622 
								
							 
						 
						
							
							
								
								Merged revisions 86540 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r86540 | benjamin.peterson | 2010-11-19 20:01:45 -0600 (Fri, 19 Nov 2010) | 1 line
  c89 declarations
........ 
							
						 
						
							2010-11-20 02:04:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								0e9e98edc7 
								
							 
						 
						
							
							
								
								c89 declarations  
							
							
							
						 
						
							2010-11-20 02:01:45 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								aab9585130 
								
							 
						 
						
							
							
								
								Merged revisions 86538 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r86538 | benjamin.peterson | 2010-11-19 19:38:49 -0600 (Fri, 19 Nov 2010) | 1 line
  use %R format code; fixes invalid dereferencing #10391 
........ 
							
						 
						
							2010-11-20 01:48:38 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								5b066817e2 
								
							 
						 
						
							
							
								
								use %R format code; fixes invalid dereferencing  #10391  
							
							
							
						 
						
							2010-11-20 01:38:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								f609654b0e 
								
							 
						 
						
							
							
								
								handle dict subclasses gracefully in PyArg_ValidateKeywordArguments  
							
							
							
						 
						
							2010-11-17 22:33:12 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								cf9f98034a 
								
							 
						 
						
							
							
								
								Issue  #10372 : Import the warnings module only after the IO library is  
							
							... 
							
							
							
							initialized, so as to avoid bootstrap issues with the '-W' option. 
							
						 
						
							2010-11-10 13:55:25 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								3e2b7171bf 
								
							 
						 
						
							
							
								
								Issue  #10359 : Remove ";" after function definition, invalid in ISO C  
							
							
							
						 
						
							2010-11-09 09:32:19 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								19de4c3a8c 
								
							 
						 
						
							
							
								
								_Py_char2wchar() frees the memory on conversion error  
							
							... 
							
							
							
							Explain in the documentation that conversion errors should never happen. 
							
						 
						
							2010-11-08 23:30:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								2f02a51135 
								
							 
						 
						
							
							
								
								PyUnicode_EncodeFS() raises an exception if _Py_wchar2char() fails  
							
							... 
							
							
							
							* Add error_pos optional argument to _Py_wchar2char()
 * PyUnicode_EncodeFS() raises a UnicodeEncodeError or MemoryError if
   _Py_wchar2char() fails 
							
						 
						
							2010-11-08 22:43:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hirokazu Yamamoto 
								
							 
						 
						
							
							
							
							
								
							
							
								3d89751c7a 
								
							 
						 
						
							
							
								
								Merged revisions 85980 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85980 | hirokazu.yamamoto | 2010-10-31 00:08:15 +0900 | 1 line
  Issue #10157 : Fixed refleaks in pythonrun.c. Patch by Stefan Krah.
........ 
							
						 
						
							2010-10-30 15:43:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Hirokazu Yamamoto 
								
							 
						 
						
							
							
							
							
								
							
							
								daf83acf00 
								
							 
						 
						
							
							
								
								Issue  #10157 : Fixed refleaks in pythonrun.c. Patch by Stefan Krah.  
							
							
							
						 
						
							2010-10-30 15:08:15 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								c8850d0771 
								
							 
						 
						
							
							
								
								Merged revisions 85817,85904 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85817 | benjamin.peterson | 2010-10-23 22:41:46 -0500 (Sat, 23 Oct 2010) | 1 line
  tighten loop
........
  r85904 | benjamin.peterson | 2010-10-28 22:28:14 -0500 (Thu, 28 Oct 2010) | 1 line
  decrement offset when it points to a newline (#10186  followup)
........ 
							
						 
						
							2010-10-29 04:02:30 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								a95e977e41 
								
							 
						 
						
							
							
								
								decrement offset when it points to a newline ( #10186  followup)  
							
							
							
						 
						
							2010-10-29 03:28:14 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								98e2b45297 
								
							 
						 
						
							
							
								
								Merged revisions 85896 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85896 | antoine.pitrou | 2010-10-29 00:56:58 +0200 (ven., 29 oct. 2010) | 4 lines
  Issue #5437 : A preallocated MemoryError instance should not hold traceback
  data (including local variables caught in the stack trace) alive infinitely.
........ 
							
						 
						
							2010-10-28 23:06:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								07e20ef50b 
								
							 
						 
						
							
							
								
								Issue  #5437 : A preallocated MemoryError instance should not hold traceback  
							
							... 
							
							
							
							data (including local variables caught in the stack trace) alive infinitely. 
							
						 
						
							2010-10-28 22:56:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								07e4f1565b 
								
							 
						 
						
							
							
								
								sys_update_path(): update sys.path even if argc==0  
							
							
							
						 
						
							2010-10-25 17:37:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								08be72d0aa 
								
							 
						 
						
							
							
								
								Add a new warning gategory, ResourceWarning, as discussed on python-dev.  It is silent by default,  
							
							... 
							
							
							
							except when configured --with-pydebug.
Emit this warning from the GC shutdown procedure, rather than just printing to stderr. 
							
						 
						
							2010-10-24 15:11:22 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								d4519c14ca 
								
							 
						 
						
							
							
								
								tighten loop  
							
							
							
						 
						
							2010-10-24 03:41:46 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								9831611865 
								
							 
						 
						
							
							
								
								Merged revisions 85814 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85814 | benjamin.peterson | 2010-10-23 21:52:05 -0500 (Sat, 23 Oct 2010) | 1 line
  remove broken code accounting an offset the size of the line #10186 
........ 
							
						 
						
							2010-10-24 02:57:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								503d6c5ae9 
								
							 
						 
						
							
							
								
								remove broken code accounting an offset the size of the line  #10186  
							
							
							
						 
						
							2010-10-24 02:52:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								8035bc5c04 
								
							 
						 
						
							
							
								
								follow up to  #9778 : define and use an unsigned hash type  
							
							
							
						 
						
							2010-10-23 16:20:50 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								3aa6cea861 
								
							 
						 
						
							
							
								
								Issue  #10077 : Fix logging of site module errors at startup.  
							
							
							
						 
						
							2010-10-23 08:50:36 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								9583cac633 
								
							 
						 
						
							
							
								
								Issue  #10089 : Add support for arbitrary -X options on the command-line.  
							
							... 
							
							
							
							They can be retrieved through a new attribute `sys._xoptions`. 
							
						 
						
							2010-10-21 13:42:28 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								4d3d08f961 
								
							 
						 
						
							
							
								
								Merged revisions 85757 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85757 | benjamin.peterson | 2010-10-20 16:25:23 -0500 (Wed, 20 Oct 2010) | 1 line
  fix uninitialized struct member #10152 
........ 
							
						 
						
							2010-10-20 21:35:05 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								b8ffb60ec6 
								
							 
						 
						
							
							
								
								fix uninitialized struct member  #10152  
							
							
							
						 
						
							2010-10-20 21:25:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								15244f7b12 
								
							 
						 
						
							
							
								
								Recorded merge of revisions 85569-85570 via svnmerge from  
							
							... 
							
							
							
							svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
  r85569 | victor.stinner | 2010-10-16 15:14:10 +0200 (sam., 16 oct. 2010) | 4 lines
  Issue #9713 , #10114 : Parser functions (eg. PyParser_ASTFromFile) expects
  filenames encoded to the filesystem encoding with surrogateescape error handler
  (to support undecodable bytes), instead of UTF-8 in strict mode.
........
  r85570 | victor.stinner | 2010-10-16 15:42:53 +0200 (sam., 16 oct. 2010) | 4 lines
  Fix ast_error_finish() and err_input(): filename can be NULL
  Fix my previous commit (r85569).
........ 
							
						 
						
							2010-10-19 01:22:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e474309bb7 
								
							 
						 
						
							
							
								
								initfsencoding(): get_codeset() failure is now a fatal error  
							
							... 
							
							
							
							Don't fallback to utf-8 anymore to avoid mojibake. I never got any error from
his function. 
							
						 
						
							2010-10-19 00:05:51 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								8f67d0893f 
								
							 
						 
						
							
							
								
								make hashes always the size of pointers; introduce Py_hash_t  #9778  
							
							
							
						 
						
							2010-10-17 20:54:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								c049982ea5 
								
							 
						 
						
							
							
								
								compiler_error(): use PyUnicode_DecodeFSDefault() to decode the filename,  
							
							... 
							
							
							
							instead of utf-8 in strict mode. 
							
						 
						
							2010-10-17 19:16:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								15a71cdad2 
								
							 
						 
						
							
							
								
								PyErr_SyntaxLocationEx() uses PyUnicode_DecodeFSDefault(), instead of  
							
							... 
							
							
							
							PyUnicode_FromString(), to decode the filename. 
							
						 
						
							2010-10-17 19:03:16 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								ed7916dd00 
								
							 
						 
						
							
							
								
								find_module(): use FS encoding to display the missing __init__ warning  
							
							
							
						 
						
							2010-10-17 02:07:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								49d3f2514b 
								
							 
						 
						
							
							
								
								_PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding  
							
							... 
							
							
							
							* Rename _PyImport_FindExtension() to _PyImport_FindExtensionUnicode():
   the filename becomes a Unicode object instead of byte string
 * Rename _PyImport_FixupExtension() to _PyImport_FixupExtensionUnicode():
   the filename becomes a Unicode object instead of byte string 
							
						 
						
							2010-10-17 01:24:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								168e117e0a 
								
							 
						 
						
							
							
								
								Add an optional size argument to _Py_char2wchar()  
							
							... 
							
							
							
							_Py_char2wchar() callers usually need the result size in characters. Since it's
trivial to compute it in _Py_char2wchar() (O(1) whereas wcslen() is O(n)), add
an option to get it. 
							
						 
						
							2010-10-16 23:16:16 +00:00