[issue21384] Windows: Make handle non inheritable by default
STINNER Victor
report at bugs.python.org
Wed Apr 30 12:00:23 CEST 2014
STINNER Victor added the comment:
On Windows, handles are created non-inheritable by default, but I would prefer to double check.
The tool "Handle" can be used to list all open handles of a process:
http://technet.microsoft.com/en-us/sysinternals/bb896655.aspx
To test that all handles are non-inheritable: run all Python unit tests, create a subprocesss with close_fds=False, list open handles of the child process and check that the list of not longer than a fresh Python process.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21384>
_______________________________________
More information about the Python-bugs-list
mailing list