Commit c12d319e authored by Denis Bilenko's avatar Denis Bilenko

Merge pull request #505 from gevent/import_socket_win

import socket on windows
parents 6f62c414 55fab9f6
......@@ -32,6 +32,13 @@ __all__ = ['get_hub',
'reinit']
import sys
if sys.platform == 'win32':
import socket # trigger WSAStartup call
del socket
del sys
from gevent.hub import get_hub, iwait, wait, PYPY
from gevent.greenlet import Greenlet, joinall, killall
spawn = Greenlet.spawn
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment