Commit f6dcbbac authored by Fantix King's avatar Fantix King Committed by Denis Bilenko

fix an encoding issue in gevent.core for PY3 #38

parent a684418d
......@@ -354,6 +354,8 @@ cdef public class loop [object PyGeventLoopObject, type PyGeventLoop_Type]:
return libev.EV_MINPRI
def _handle_syserr(self, message, errno):
if sys.version_info[0] >= 3:
message = message.decode()
self.handle_error(None, SystemError, SystemError(message + ': ' + os.strerror(errno)), None)
cpdef handle_error(self, context, type, value, tb):
......
......@@ -94,7 +94,6 @@ if PY3:
# No idea / TODO
FAILING_TESTS += '''
test__example_udp_server.py
test_close_backend_fd.py
test__examples.py
test__pool.py
FLAKY test___example_servers.py
......
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