Commit bd436751 authored by Denis Bilenko's avatar Denis Bilenko

Fix issue 104: ares.ares_host_result unpickleable. Thanks to shaunc.

parent 2c0fc264
......@@ -185,6 +185,9 @@ class ares_host_result(tuple):
self.family = family
return self
def __getnewargs__(self):
return (self.family, tuple(self))
cdef void gevent_ares_host_callback(void *arg, int status, int timeouts, hostent* host):
cdef channel channel
......
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