add ssloop branch
This commit is contained in:
parent
5ad8cd6f3d
commit
4f46400145
4 changed files with 177 additions and 20 deletions
|
@ -29,16 +29,6 @@ else:
|
|||
import json
|
||||
|
||||
|
||||
# TODO remove gevent
|
||||
try:
|
||||
import gevent
|
||||
import gevent.monkey
|
||||
gevent.monkey.patch_all(dns=gevent.version_info[0] >= 1)
|
||||
except ImportError:
|
||||
gevent = None
|
||||
print >>sys.stderr, 'warning: gevent not found, using threading instead'
|
||||
|
||||
|
||||
import socket
|
||||
import select
|
||||
import threading
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue