This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kevinwatters
Recipients kevinwatters, mamulsow
Date 2008-08-01.17:42:07
SpamBayes Score 0.0009440983
Marked as misclassified No
Message-id <1217612529.21.0.820372306208.issue3006@psf.upfronthosting.co.za>
In-reply-to
Content
I found a workaround for this issue (attached) via the kernel32.dll
function SetHandleInformation. You can patch the socket class to set all
newly created sockets as uninheritable.

It's not perfect--another thread could still spawn a subprocess in
between.  We probably need some kind of API for setting socket inheritance.
History
Date User Action Args
2008-08-01 17:42:09kevinwatterssetrecipients: + kevinwatters, mamulsow
2008-08-01 17:42:09kevinwatterssetmessageid: <1217612529.21.0.820372306208.issue3006@psf.upfronthosting.co.za>
2008-08-01 17:42:08kevinwatterslinkissue3006 messages
2008-08-01 17:42:08kevinwatterscreate