Commit 12e4fb18 authored by Denis Bilenko's avatar Denis Bilenko

gevent/__init__.py: remove 'socket' import

that was supposed to trigger WSAStartup in the past (libevent times),
but it seems to be no longer necessary
parent 9c1e2278
......@@ -32,13 +32,6 @@ __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
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