Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								de0e63bd9c 
								
							 
						 
						
							
							
								
								Issue  #15905 : Fix theoretical buffer overflow in handling of sys.argv[0],  
							
							... 
							
							
							
							prefix and exec_prefix if the operation system does not obey MAXPATHLEN. 
							
						 
						
							2013-07-22 12:54:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								60a6067709 
								
							 
						 
						
							
							
								
								Issue  #15905 : Fix theoretical buffer overflow in handling of sys.argv[0],  
							
							... 
							
							
							
							prefix and exec_prefix if the operation system does not obey MAXPATHLEN. 
							
						 
						
							2013-07-22 12:53:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Kuchling 
								
							 
						 
						
							
							
							
							
								
							
							
								c61b913078 
								
							 
						 
						
							
							
								
								#13226 : update references from ctypes/DLFCN modules to os module  
							
							
							
						 
						
							2013-06-21 10:58:41 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								f9d0b1256f 
								
							 
						 
						
							
							
								
								Issue  #13390 : New function :func:sys.getallocatedblocks() returns the number of memory blocks currently allocated.  
							
							... 
							
							
							
							Also, the ``-R`` option to regrtest uses this function to guard against memory allocation leaks. 
							
						 
						
							2012-12-09 14:28:26 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								5c1c831211 
								
							 
						 
						
							
							
								
								RISCOS support has been removed a long time ago. Remove last remains in sys.flags code.  #16501  can be closed, too.  
							
							
							
						 
						
							2012-11-19 00:44:37 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								743e0cd6b5 
								
							 
						 
						
							
							
								
								Issue  #16166 : Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unified  
							
							... 
							
							
							
							endianess detection and handling. 
							
						 
						
							2012-10-17 23:52:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								3adc7b75a5 
								
							 
						 
						
							
							
								
								Issue  #15242 : Have PyImport_GetMagicTag() return a const char *  
							
							... 
							
							
							
							defined in sysmodule.c instead of straight out of a Unicode object.
Thanks to Amaury Forgeot d'Arc for noticing the bug and Eric Snow for
writing the patch. 
							
						 
						
							2012-07-09 14:22:12 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									David Malcolm 
								
							 
						 
						
							
							
							
							
								
							
							
								49526f48fc 
								
							 
						 
						
							
							
								
								Issue  #14785 : Add sys._debugmallocstats() to help debug low-level memory allocation issues  
							
							
							
						 
						
							2012-06-22 14:55:41 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								409da157d7 
								
							 
						 
						
							
							
								
								Eric Snow's implementation of PEP 421.  
							
							... 
							
							
							
							Issue 14673: Add sys.implementation 
							
						 
						
							2012-06-03 16:18:47 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Vinay Sajip 
								
							 
						 
						
							
							
							
							
								
							
							
								7ded1f0f69 
								
							 
						 
						
							
							
								
								Implemented PEP 405 (Python virtual environments).  
							
							
							
						 
						
							2012-05-26 03:45:29 +01: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 
								
							 
						 
						
							
							
							
							
								
							
							
								09a7c72cad 
								
							 
						 
						
							
							
								
								Merge from 3.1: Issue  #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)  
							
							... 
							
							
							
							in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior. 
							
						 
						
							2012-02-20 21:31:46 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								2daf6ae249 
								
							 
						 
						
							
							
								
								Issue  #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)  
							
							... 
							
							
							
							in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior. 
							
						 
						
							2012-02-20 19:54:16 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petri Lehtinen 
								
							 
						 
						
							
							
							
							
								
							
							
								4b0eab62f0 
								
							 
						 
						
							
							
								
								Merge branch 3.2  
							
							... 
							
							
							
							Closes  #13402 . 
						
							2012-02-02 21:23:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petri Lehtinen 
								
							 
						 
						
							
							
							
							
								
							
							
								9713321f46 
								
							 
						 
						
							
							
								
								Document absoluteness of sys.executable  
							
							... 
							
							
							
							Closes  #13402 . 
						
							2012-02-02 20:59:50 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								ce79852077 
								
							 
						 
						
							
							
								
								use the static identifier api for looking up special methods  
							
							... 
							
							
							
							I had to move the static identifier code from unicodeobject.h to object.h in
order for this to work. 
							
						 
						
							2012-01-22 11:24:29 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								f4afa43fd4 
								
							 
						 
						
							
							
								
								Issue  #13226 : Update sys.setdlopenflags() docstring  
							
							... 
							
							
							
							Refer to os.RTLD_xxx constants instead of ctypes and DLFCN modules. 
							
						 
						
							2011-10-31 11:48:09 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								1c67dd9b15 
								
							 
						 
						
							
							
								
								Port SetAttrString/HasAttrString to SetAttrId/GetAttrId.  
							
							
							
						 
						
							2011-10-14 15:16:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								bd928fef42 
								
							 
						 
						
							
							
								
								Rename _Py_identifier to _Py_IDENTIFIER.  
							
							
							
						 
						
							2011-10-14 10:20:37 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								1ee1b6fe0d 
								
							 
						 
						
							
							
								
								Use identifier API for PyObject_GetAttrString.  
							
							
							
						 
						
							2011-10-10 18:11:30 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Martin v. Löwis 
								
							 
						 
						
							
							
							
							
								
							
							
								afe55bba33 
								
							 
						 
						
							
							
								
								Add API for static strings, primarily good for identifiers.  
							
							... 
							
							
							
							Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing. 
							
						 
						
							2011-10-09 10:38:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								639418812f 
								
							 
						 
						
							
							
								
								Use the new Py_ARRAY_LENGTH macro  
							
							
							
						 
						
							2011-09-29 00:42:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								48a2f8fd97 
								
							 
						 
						
							
							
								
								#13054 : sys.maxunicode is now always 0x10FFFF.  
							
							
							
						 
						
							2011-09-29 00:18:19 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								d5c355ccc7 
								
							 
						 
						
							
							
								
								Issue  #11223 : Replace threading._info() by sys.thread_info  
							
							
							
						 
						
							2011-04-30 14:53:09 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								7124f5f7e8 
								
							 
						 
						
							
							
								
								MERGE: Up-port changeset 5cf8f6da8743 ( closes   #11890 )  
							
							
							
						 
						
							2011-04-20 20:32:52 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								1d4ae84e53 
								
							 
						 
						
							
							
								
								Up-port changeset 5cf8f6da8743 ( closes   #11890 )  
							
							
							
						 
						
							2011-04-20 20:24:57 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								dd810ddb65 
								
							 
						 
						
							
							
								
								Merge 3.2: sys.getfilesystemencoding() raises a RuntimeError if  
							
							... 
							
							
							
							initfsencoding() was not called yet: detect bootstrap (startup) issues earlier. 
							
						 
						
							2011-03-31 13:40:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								27181ac778 
								
							 
						 
						
							
							
								
								sys.getfilesystemencoding() raises a RuntimeError if initfsencoding() was not  
							
							... 
							
							
							
							called yet: detect bootstrap (startup) issues earlier. 
							
						 
						
							2011-03-31 13:39:03 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Éric Araujo 
								
							 
						 
						
							
							
							
							
								
							
							
								be3bd57ba2 
								
							 
						 
						
							
							
								
								Remove traces of division_warning left over from Python 2 ( #10998 )  
							
							
							
						 
						
							2011-03-26 01:55:15 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								4969f709cc 
								
							 
						 
						
							
							
								
								#11515 : Merge with 3.1.  
							
							
							
						 
						
							2011-03-15 05:59:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ezio Melotti 
								
							 
						 
						
							
							
							
							
								
							
							
								373089239b 
								
							 
						 
						
							
							
								
								#11515 : Merge with 3.2.  
							
							
							
						 
						
							2011-03-15 06:03:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								776e586114 
								
							 
						 
						
							
							
								
								Remove sys.subversion and svn build identification leftovers.  
							
							
							
						 
						
							2011-03-06 10:35:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								fe09a54280 
								
							 
						 
						
							
							
								
								Merge build identification to default branch.  
							
							
							
						 
						
							2011-03-06 10:26:32 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								13039c87f1 
								
							 
						 
						
							
							
								
								Merge build identification to 3.2 branch.  
							
							
							
						 
						
							2011-03-06 10:13:00 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Georg Brandl 
								
							 
						 
						
							
							
							
							
								
							
							
								1ca2e7965c 
								
							 
						 
						
							
							
								
								Commit the hg build identification patch from the pymigr repo.  
							
							
							
						 
						
							2011-03-05 20:51:24 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brett Cannon 
								
							 
						 
						
							
							
							
							
								
							
							
								b94767ff44 
								
							 
						 
						
							
							
								
								Issue  #8914 : fix various warnings from the Clang static analyzer v254.  
							
							
							
						 
						
							2011-02-22 20:15:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Raymond Hettinger 
								
							 
						 
						
							
							
							
							
								
							
							
								90e8f8cd9b 
								
							 
						 
						
							
							
								
								Fix count of flag fields.  Being one short caused the 'quiet' option not to print.  
							
							
							
						 
						
							2011-01-05 20:08:25 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								13d49ee7d6 
								
							 
						 
						
							
							
								
								Issue  #10601 : sys.displayhook uses 'backslashreplace' error handler on  
							
							... 
							
							
							
							UnicodeEncodeError. 
							
						 
						
							2010-12-04 17:24:33 +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 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								07e4f1565b 
								
							 
						 
						
							
							
								
								sys_update_path(): update sys.path even if argc==0  
							
							
							
						 
						
							2010-10-25 17:37:23 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								8035bc5c04 
								
							 
						 
						
							
							
								
								follow up to  #9778 : define and use an unsigned hash type  
							
							
							
						 
						
							2010-10-23 16:20:50 +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 
								
							 
						 
						
							
							
							
							
								
							
							
								8f67d0893f 
								
							 
						 
						
							
							
								
								make hashes always the size of pointers; introduce Py_hash_t  #9778  
							
							
							
						 
						
							2010-10-17 20:54:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Barry Warsaw 
								
							 
						 
						
							
							
							
							
								
							
							
								8cf4eae522 
								
							 
						 
						
							
							
								
								First (uncontroversial) part of issue 9807.  
							
							... 
							
							
							
							* Expose the build flags to Python as sys.abiflags
* Shared library libpythonX.Y<abiflags>.so
* python-config --abiflags
* Make two distutils tests that failed with --enable-shared (even before this
  patch) succeed.
* Fix a few small style issues. 
							
						 
						
							2010-10-16 01:04:07 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								015f4d87ab 
								
							 
						 
						
							
							
								
								_Py_wrealpath() requires the size of the output buffer  
							
							
							
						 
						
							2010-10-07 22:29:53 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4e31443c4d 
								
							 
						 
						
							
							
								
								Create fileutils.c/.h  
							
							... 
							
							
							
							* _Py_fopen() and _Py_stat() come from Python/import.c
 * (_Py)_wrealpath() comes from Python/sysmodule.c
 * _Py_char2wchar(), _Py_wchar2char() and _Py_wfopen() come from Modules/main.c
 * (_Py)_wstat(), (_Py)_wgetcwd(), _Py_wreadlink() come from Modules/getpath.c 
							
						 
						
							2010-10-07 21:45:39 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								7ae7c87b05 
								
							 
						 
						
							
							
								
								_wrealpath() and _Py_wreadlink() support surrogates (PEP 383)  
							
							... 
							
							
							
							Use _Py_wchar2char() to support surrogate characters in the input path. 
							
						 
						
							2010-10-07 11:06:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								c08ec9fdba 
								
							 
						 
						
							
							
								
								Create a subfunction for PySys_SetArgvEx()  
							
							... 
							
							
							
							Create sys_update_path() static function. Do nothing if argc==0. 
							
						 
						
							2010-10-06 22:44:06 +00:00