Author janglin
Recipients janglin
Date 2009-07-01.15:08:06
SpamBayes Score 5.10062e-08
Marked as misclassified No
Message-id <1246460889.83.0.840180185924.issue6394@psf.upfronthosting.co.za>
In-reply-to
Content
Implements getppid in the os module on Windows systems. The getppid 
function was only available on Unix like systems, this diff patch brings 
this functionality to Windows systems.  This function will return the 
parent process Id, upon error it will return -1.  This differs from the 
Unix implementation that never fails.  Due to the way Windows returns the 
parent process Id, a never fail guarantee can not be made.  It should only 
fail in low memory conditions.  This patch is on the latest svn trunk (	
http://svn.python.org/projects/python/trunk).  This implementation should 
port to any python version (older or newer).  I have personally tested it 
against Python 2.5.4, 2.6.2, 3.1, and the aforementioned svn trunk.
History
Date User Action Args
2009-07-01 15:08:10janglinsetrecipients: + janglin
2009-07-01 15:08:09janglinsetmessageid: <1246460889.83.0.840180185924.issue6394@psf.upfronthosting.co.za>
2009-07-01 15:08:08janglinlinkissue6394 messages
2009-07-01 15:08:08janglincreate