
This includes changes to WSGI, websocket, bytes/str/unicode handling, SSL, backdoor, greenio and tests. Some comments and conditionals (PY2/PY3) were added for clarity GH issues: Closes #106 Closes #111 Closes #118 Closes #141 Incidentally should also close #135 (reopen if didn't) cc #6
13 lines
413 B
Python
13 lines
413 B
Python
from __future__ import print_function
|
|
from eventlet import patcher
|
|
|
|
# no standard tests in this file, ignore
|
|
__test__ = False
|
|
|
|
if __name__ == '__main__':
|
|
import MySQLdb as m
|
|
from eventlet.green import MySQLdb as gm
|
|
patcher.monkey_patch(all=True, MySQLdb=True)
|
|
print("mysqltest {0}".format(",".join(sorted(patcher.already_patched.keys()))))
|
|
print("connect {0}".format(m.connect == gm.connect))
|