Enable gevent support.

Closes issues #166 and #167

Thanks to @pvicent, @chason, and @gabriel-samfira
This commit is contained in:
Lance Stout
2012-10-24 01:20:23 -07:00
parent c5046b9c91
commit 2a4e435228
2 changed files with 11 additions and 7 deletions

View File

@@ -34,7 +34,7 @@ class FileSocket(_fileobject):
return data
class Socket26(socket._socketobject):
class Socket26(socket.socket):
"""A custom socket implementation that uses our own FileSocket class
to work around issues in Python 2.6 when using sockets as files.