def prevent_socket_inheritance(sock):
            if not _SetHandleInformation(sock.fileno(), 1, 0):
                raise WinError()
Mark the given socket fd as non-inheritable (Windows).
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/libs/cherrypy/wsgiserver/wsgiserver3.py/prevent_socket_inheritance