[Python-Dev] (New) PEP 446: Make newly created file descriptors non-inheritable
Victor Stinner
victor.stinner at gmail.com
Wed Aug 7 18:55:51 CEST 2013
> Also the socket library creates sockets with inheritable handles by
default. Apparently there isn't a reliable way to make sockets
non-inheritable because anti-virus/firewall software can interfere:
>
>
http://stackoverflow.com/questions/12058911/can-tcp-socket-handles-be-set-not-inheritable
Recent versions of Windows provide an atomic flag to create a
non-inheritable socket. I hope that the falg is respected even with
antivirus/firewall.
For older versions of Windows, I don't see what Python can do. Is it a
blocker point for the PEP?
Victor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20130807/cb646f6c/attachment.html>
More information about the Python-Dev
mailing list