> 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