Commit 22141fc2 authored by Manuel Barkhau's avatar Manuel Barkhau

bugfix for pypy3

parent 2c9345f9
......@@ -103,6 +103,10 @@ class StreamServer(BaseServer):
if not sock.timeout:
return
raise
except _socket.error as err:
if err.args[0] == EWOULDBLOCK:
return
raise
sock = socket(sock.family, sock.type, sock.proto, fileno=fd)
# XXX Python issue #7995?
return sock, address
......
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