def prevent_socket_inheritance(sock):
            if not windll.kernel32.SetHandleInformation(sock.fileno(), 1, 0):
                raise WinError()
Mark the given socket fd as non-inheritable (Windows).
dataset/ETHPy150Open cloudera/hue/desktop/core/src/desktop/lib/wsgiserver.py/prevent_socket_inheritance