Message218365
> 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. |
|
Date |
User |
Action |
Args |
2014-05-12 21:23:40 | vstinner | set | recipients:
+ vstinner, tim.golden, sbt |
2014-05-12 21:23:40 | vstinner | set | messageid: <1399929820.32.0.249695352324.issue21384@psf.upfronthosting.co.za> |
2014-05-12 21:23:40 | vstinner | link | issue21384 messages |
2014-05-12 21:23:39 | vstinner | create | |
|