Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								dd3a6a5533 
								
							 
						 
						
							
							
								
								Fix os.confstr(): the result type of the C function is size_t, not int  
							
							
							
						 
						
							2013-06-25 23:13:47 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								14b9b11098 
								
							 
						 
						
							
							
								
								If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified.  
							
							
							
						 
						
							2013-06-25 00:37:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Christian Heimes 
								
							 
						 
						
							
							
							
							
								
							
							
								99d6135a15 
								
							 
						 
						
							
							
								
								Define S_IFMT and S_IFLNK in pyport.h so posixmodule.c can use named constants instead  
							
							... 
							
							
							
							of arbitrary looking numbers. 
							
						 
						
							2013-06-23 23:56:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Richard Oudkerk 
								
							 
						 
						
							
							
							
							
								
							
							
								ac0ad884d1 
								
							 
						 
						
							
							
								
								Issue  #17931 : Resolve confusion on Windows between pids and process handles.  
							
							
							
						 
						
							2013-06-05 23:29:30 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								072318b178 
								
							 
						 
						
							
							
								
								Issue  #13772 : Use syntax for literal wchar_t character  
							
							
							
						 
						
							2013-06-05 02:07:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								31b3b92f7a 
								
							 
						 
						
							
							
								
								Issue  #13772 : Mark helper functions as private (static)  
							
							... 
							
							
							
							Cleanup also the code to follow the Python coding style (PEP 7). 
							
						 
						
							2013-06-05 01:49:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e87267dc6e 
								
							 
						 
						
							
							
								
								Issue  #13772 : Fix a compiler warning on Windows  
							
							
							
						 
						
							2013-06-05 01:30:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								5a4367600f 
								
							 
						 
						
							
							
								
								Issue  #13772 : fix _check_dirA(): call *A() functions, not *W() functions  
							
							
							
						 
						
							2013-06-05 00:37:12 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								e7e7eba108 
								
							 
						 
						
							
							
								
								Issue  #13772 : Fix compiler warnings on Windows  
							
							
							
						 
						
							2013-06-05 00:35:54 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								0b81111b18 
								
							 
						 
						
							
							
								
								(Merge 3.3)  Close   #18109 : os.uname() now decodes fields from the locale  
							
							... 
							
							
							
							encoding, and socket.gethostname() now decodes the hostname from the locale
encoding, instead of using the UTF-8 encoding in strict mode. 
							
						 
						
							2013-06-03 22:09:14 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
							
							
								
							
							
								a534fc4b3b 
								
							 
						 
						
							
							
								
								Close   #18109 : os.uname() now decodes fields from the locale encoding, and  
							
							... 
							
							
							
							socket.gethostname() now decodes the hostname from the locale encoding, instead
of using the UTF-8 encoding in strict mode. 
							
						 
						
							2013-06-03 22:07:27 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason R. Coombs 
								
							 
						 
						
							
							
							
							
								
							
							
								3a09286790 
								
							 
						 
						
							
							
								
								Issue  #13772 : Restored directory detection of targets in os.symlink on Windows, which was temporarily removed in Python 3.2.3 due to an incomplete implementation. The implementation now works even if the symlink is created in a location other than the current directory.  
							
							
							
						 
						
							2013-05-27 23:21:28 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								3b08a2978e 
								
							 
						 
						
							
							
								
								indicate that read/write work with bytes ( closes   #18009 )  
							
							
							
						 
						
							2013-05-24 14:35:57 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason R. Coombs 
								
							 
						 
						
							
							
							
							
								
							
							
								8f1a8e32b1 
								
							 
						 
						
							
							
								
								Merge with 3.3  
							
							
							
						 
						
							2013-05-27 23:26:36 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Benjamin Peterson 
								
							 
						 
						
							
							
							
							
								
							
							
								e08b583d88 
								
							 
						 
						
							
							
								
								merge 3.3  
							
							
							
						 
						
							2013-05-24 14:36:04 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-Francois Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								74ca886788 
								
							 
						 
						
							
							
								
								Issue  #17917 : Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()  
							
							... 
							
							
							
							when applicable. 
							
						 
						
							2013-05-20 19:13:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-Francois Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								7c4f8dacf4 
								
							 
						 
						
							
							
								
								Issue  #17914 : We can now inline _bsd_cpu_count().  
							
							
							
						 
						
							2013-05-20 17:40:32 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-Francois Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								d59087de5b 
								
							 
						 
						
							
							
								
								Issue  #17914 : Remove OS-X special-case, and use the correct int type.  
							
							
							
						 
						
							2013-05-20 17:31:06 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Charles-Francois Natali 
								
							 
						 
						
							
							
							
							
								
							
							
								44feda3cd0 
								
							 
						 
						
							
							
								
								Issue  #17914 : Add os.cpu_count(). Patch by Yogesh Chaudhari, based on an  
							
							... 
							
							
							
							initial patch by Trent Nelson. 
							
						 
						
							2013-05-20 14:40:46 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									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