Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								6fdd7b81fa 
								
							 
						 
						
							
							
								
								Issue  #17964 : Fix os.sysconf(): the return type of the C sysconf() function  
							
							... 
							
							
							
							is long, not int. 
							
						 
						
							2013-05-16 22:26:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								cde88dcf10 
								
							 
						 
						
							
							
								
								merge 3.3 ( #17968 )  
							
							
							
						 
						
							2013-05-13 19:56:35 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								dedac52731 
								
							 
						 
						
							
							
								
								prevent double free in cleanup code ( #17968 )  
							
							
							
						 
						
							2013-05-13 19:55:40 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								5f18791902 
								
							 
						 
						
							
							
								
								Issue  #17968 : Fix memory leak in os.listxattr().  
							
							
							
						 
						
							2013-05-13 19:48:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								7f987398b7 
								
							 
						 
						
							
							
								
								Issue  #17968 : Fix memory leak in os.listxattr().  
							
							
							
						 
						
							2013-05-13 19:46:29 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Oudkerk 
								
							 
						 
						
							
							
							
							
								
							
							
								245bbee0d5 
								
							 
						 
						
							
							
								
								Merge.  
							
							
							
						 
						
							2013-04-17 21:24:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								cf8a1e51ec 
								
							 
						 
						
							
							
								
								- Issue  #17782 : Fix undefined behaviour on platforms where `struct timespec`'s "tv_nsec" member is not a C long.  
							
							
							
						 
						
							2013-04-17 22:06:44 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								40a2160a09 
								
							 
						 
						
							
							
								
								Refactor the common code out of the posix and windows listdir  
							
							... 
							
							
							
							implementations from my previous commit into the higher level
function. 
							
						 
						
							2013-03-20 20:52:50 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Gregory P. Smith 
								
							 
						 
						
							
							
							
							
								
							
							
								16ea14a690 
								
							 
						 
						
							
							
								
								Refactor the Windows specific and POSIX specific implementations of  
							
							... 
							
							
							
							listdir into two separate coherent functions rather than interleaved
#ifdef's. 
							
						 
						
							2013-03-20 18:51:33 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								3b965a237c 
								
							 
						 
						
							
							
								
								expose O_PATH if possible  
							
							
							
						 
						
							2013-03-13 10:27:41 -05:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a7b5e82ff0 
								
							 
						 
						
							
							
								
								Reject float as uid or gid.  
							
							... 
							
							
							
							A regression was introduced in the commit for issue #4591 . 
							
						 
						
							2013-02-10 23:28:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								b462189921 
								
							 
						 
						
							
							
								
								Reject float as uid or gid.  
							
							... 
							
							
							
							A regression was introduced in the commit for issue issue #4591 . 
							
						 
						
							2013-02-10 23:28:02 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c2d020090b 
								
							 
						 
						
							
							
								
								Issue  #4591 : Uid and gid values larger than 2**31 are supported now.  
							
							
							
						 
						
							2013-02-10 22:03:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7cf5599346 
								
							 
						 
						
							
							
								
								Issue  #4591 : Uid and gid values larger than 2**31 are supported now.  
							
							
							
						 
						
							2013-02-10 21:56:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								c73c561181 
								
							 
						 
						
							
							
								
								Issue  #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.  
							
							... 
							
							
							
							I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag), mpdecimal (needs to build without Python.h). 
							
						 
						
							2013-02-09 23:14:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								4de7457009 
								
							 
						 
						
							
							
								
								Issue  #17173 : Remove uses of locale-dependent C functions (isalpha() etc.) in the interpreter.  
							
							... 
							
							
							
							I've left a couple of them in: zlib (third-party lib), getaddrinfo.c
(doesn't include Python.h, and probably obsolete), _sre.c (legitimate
use for the re.LOCALE flag). 
							
						 
						
							2013-02-09 23:11:27 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								20190e2d54 
								
							 
						 
						
							
							
								
								Issue  #1602133 : 'environ' is not really available with shared libraries on OSX (merge from 3.3)  
							
							... 
							
							
							
							There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes  #1602133  
							
						 
						
							2013-01-25 18:02:35 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								1c90eed8a9 
								
							 
						 
						
							
							
								
								Issue  #1602133 : 'environ' is not really available with shared libraries on OSX (merge from 3.2)  
							
							... 
							
							
							
							There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes  #1602133  
							
						 
						
							2013-01-25 18:01:05 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ronald Oussoren 
								
							 
						 
						
							
							
							
							
								
							
							
								697e56d0f5 
								
							 
						 
						
							
							
								
								Issue  #1602133 : 'environ' is not really available with shared libraries on OSX  
							
							... 
							
							
							
							There already was a workaround for this for framework builds on OSX,
this changeset enables the same workaround for shared libraries.
Closes  #1602133  
							
						 
						
							2013-01-25 17:57:13 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								9101e23ff6 
								
							 
						 
						
							
							
								
								Issue  #15989 : Fix several occurrences of integer overflow  
							
							... 
							
							
							
							when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277. 
							
						 
						
							2013-01-19 12:41:45 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								7898043868 
								
							 
						 
						
							
							
								
								Issue  #15989 : Fix several occurrences of integer overflow  
							
							... 
							
							
							
							when result of PyLong_AsLong() narrowed to int without checks. 
							
						 
						
							2013-01-15 01:12:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								c99b5120a7 
								
							 
						 
						
							
							
								
								Issue  #15972 : Fix error messages when os functions expecting a file name or  
							
							... 
							
							
							
							file descriptor receive the incorrect type. 
							
						 
						
							2013-01-07 23:16:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								a2ad5c3ad1 
								
							 
						 
						
							
							
								
								Issue  #15972 : Fix error messages when os functions expecting a file name or  
							
							... 
							
							
							
							file descriptor receive the incorrect type. 
							
						 
						
							2013-01-07 23:13:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
							
							
								
							
							
								404fa924c3 
								
							 
						 
						
							
							
								
								Issue  #16841 : Set st_dev on Windows as unsigned long to match its DWORD type.  
							
							
							
						 
						
							2013-01-02 18:22:23 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e4110dc11f 
								
							 
						 
						
							
							
								
								Issue  #9644 : Fix the encoding used by os.statvfs(): use the filesystem encoding  
							
							... 
							
							
							
							with the surrogateescape error handler, instead of UTF-8 in strict mode. 
							
						 
						
							2013-01-01 23:05:55 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								9cc4321bf5 
								
							 
						 
						
							
							
								
								Backed out changeset 61bada808b34  
							
							
							
						 
						
							2013-01-01 12:31:06 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								e3d0b65118 
								
							 
						 
						
							
							
								
								Set st_dev on Windows as unsigned long to match its DWORD type, related to the change to  fix   #11939 .  
							
							
							
						 
						
							2013-01-01 12:21:35 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								87e63a273c 
								
							 
						 
						
							
							
								
								st_dev/st_rdev should be unsigned long as dwVolumeSerialNumber, which it is set to, is a DWORD. This was fixed in  #11939  and the overflow was mentioned in  #10657  and seen by me on some machines.  
							
							
							
						 
						
							2012-12-31 11:59:48 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Brian Curtin 
								
							 
						 
						
							
							
							
							
								
							
							
								490b32a397 
								
							 
						 
						
							
							
								
								Fix   #11939 . Set st_dev attribute on Windows to simplify os.path.samefile.  
							
							... 
							
							
							
							By setting the st_dev attribute, we can then remove some Windows-specific
code and move os.path.samefile/sameopenfile/samestat to Lib/genericpath.py
so all platforms share the same implementation. 
							
						 
						
							2012-12-26 07:03:03 -06:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								2606a6f197 
								
							 
						 
						
							
							
								
								Issue  #16719 : Get rid of WindowsError. Use OSError instead  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-19 14:33:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								a191959849 
								
							 
						 
						
							
							
								
								Issue  #16714 : use 'raise' exceptions, don't 'throw'.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-18 21:27:16 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								5b89840d9c 
								
							 
						 
						
							
							
								
								Issue  #16714 : use 'raise' exceptions, don't 'throw'.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-18 21:26:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Andrew Svetlov 
								
							 
						 
						
							
							
							
							
								
							
							
								737fb89dd1 
								
							 
						 
						
							
							
								
								Issue  #16714 : use 'raise' exceptions, don't 'throw'.  
							
							... 
							
							
							
							Patch by Serhiy Storchaka. 
							
						 
						
							2012-12-18 21:14:22 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								4e7d2d481a 
								
							 
						 
						
							
							
								
								Issue  #15478 : Oops, fix regression in os.open() on Windows  
							
							... 
							
							
							
							os.open() uses _wopen() which sets errno, not the Windows error code. 
							
						 
						
							2012-11-05 01:20:58 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								afe1706457 
								
							 
						 
						
							
							
								
								Issue  #15478 : Use source filename in OSError, not destination filename  
							
							... 
							
							
							
							And other fixes for Windows:
 * rename, replace and link require arguments of the same type on Windows
 * readlink only supports unicode filenames on Windows
 * os.open() specifies the filename on OSError 
							
						 
						
							2012-10-31 22:47:43 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								b024e84597 
								
							 
						 
						
							
							
								
								Issue  #15478 : Use path_error() in more posix functions, especially in Windows  
							
							... 
							
							
							
							implementation 
							
						 
						
							2012-10-31 22:24:06 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								266f882dca 
								
							 
						 
						
							
							
								
								Issue  #15478 : Fix compilation on Windows  
							
							
							
						 
						
							2012-10-30 02:27:11 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								292c835548 
								
							 
						 
						
							
							
								
								Issue  #15478 : Raising an OSError doesn't decode or encode the filename anymore  
							
							... 
							
							
							
							Pass the original filename argument to OSError constructor, instead of trying
to encode it to or decode it from the filesystem encoding. This change avoids
an additionnal UnicodeDecodeError on Windows if the filename cannot be decoded
from the filesystem encoding (ANSI code page). 
							
						 
						
							2012-10-30 02:17:38 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petri Lehtinen 
								
							 
						 
						
							
							
							
							
								
							
							
								d25b3982c7 
								
							 
						 
						
							
							
								
								Replace tabs with spaces in posixmodule.c  
							
							
							
						 
						
							2012-10-23 16:31:06 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petri Lehtinen 
								
							 
						 
						
							
							
							
							
								
							
							
								5445a8cb41 
								
							 
						 
						
							
							
								
								Replace tabs with spaces in posixmodule.c  
							
							
							
						 
						
							2012-10-23 16:29:59 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								06eecead03 
								
							 
						 
						
							
							
								
								Issue  #12034 : Fix bogus caching of result in check_GetFinalPathNameByHandle.  
							
							... 
							
							
							
							Patch by Atsuo Ishimoto. 
							
						 
						
							2012-10-21 16:33:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								ab70e2ab32 
								
							 
						 
						
							
							
								
								#16135 : Removal of OS/2 support (posixmodule y platform dependent files)  
							
							
							
						 
						
							2012-10-05 01:48:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								3b9493b53c 
								
							 
						 
						
							
							
								
								Use C-style comments for C89 / ANSI C compatibility  
							
							
							
						 
						
							2012-09-23 16:11:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Trent Nelson 
								
							 
						 
						
							
							
							
							
								
							
							
								9a46105a89 
								
							 
						 
						
							
							
								
								#15965 : Explicitly cast AT_FDCWD as (int).  
							
							... 
							
							
							
							Required on Solaris 10 (which defines AT_FDCWD as 0xffd19553),
harmless on other platforms. 
							
						 
						
							2012-09-18 21:50:06 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								9d20e0edd9 
								
							 
						 
						
							
							
								
								Issue  #15926 : Fix crash after multiple reinitializations of the interpreter.  
							
							
							
						 
						
							2012-09-12 18:01:36 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								848698727f 
								
							 
						 
						
							
							
								
								Issue  #12655 : Instead of requiring a custom type, os.sched_getaffinity and  
							
							... 
							
							
							
							os.sched_setaffinity now use regular sets of integers to represent the
CPUs a process is restricted to. 
							
						 
						
							2012-08-04 16:16:35 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jesus Cea 
								
							 
						 
						
							
							
							
							
								
							
							
								5323173dee 
								
							 
						 
						
							
							
								
								Closes   #15514 : Correct __sizeof__ support for cpu_set  
							
							
							
						 
						
							2012-08-03 14:18:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Antoine Pitrou 
								
							 
						 
						
							
							
							
							
								
							
							
								f3923e9dd7 
								
							 
						 
						
							
							
								
								Issue  #15413 : os.times() had disappeared under Windows.  
							
							
							
						 
						
							2012-07-24 21:23:53 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Oudkerk 
								
							 
						 
						
							
							
							
							
								
							
							
								2240ac1eae 
								
							 
						 
						
							
							
								
								Issue  #15261 : Stop os.stat(fd) crashing on Windows when fd not open.  
							
							
							
						 
						
							2012-07-06 12:05:32 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								591c1cca32 
								
							 
						 
						
							
							
								
								Remove dead code  
							
							... 
							
							
							
							os.urandom() has now one unique implementation, posix_urandom() which
calls _PyOS_URandom(). _PyOS_URandom() uses RAND_pseudo_bytes() on VMS. 
							
						 
						
							2012-06-28 01:45:48 +02:00