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 vstinner
Recipients sbt, tim.golden, vstinner
Date 2014-05-12.21:23:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1399929820.32.0.249695352324.issue21384@psf.upfronthosting.co.za>
In-reply-to
Content
> For example, hCryptProv in Python/random.c is inheritable or not?

This is not a standard handle. GetHandleInformation() fails with a Windows error 6 (invalid descriptor).

I listed inheritable handles with a loop on range(0, 0x1001): only handles of stdin, stdout and stderr are inheritable. The other handles are not inheritable.

I also listed handles of parent and child processes using "handle.exe" tool from Microsoft. I see that the child has less open handle, all file handles that I opened manually are not inheried, and everything looks fine.

So I think that the issue can now be closed.
History
Date User Action Args
2014-05-12 21:23:40vstinnersetrecipients: + vstinner, tim.golden, sbt
2014-05-12 21:23:40vstinnersetmessageid: <1399929820.32.0.249695352324.issue21384@psf.upfronthosting.co.za>
2014-05-12 21:23:40vstinnerlinkissue21384 messages
2014-05-12 21:23:39vstinnercreate