Open difeid opened 1 year ago
I had a similar issue with sock_recvfrom
. It took me a while to figure out what was going on because I was using Sanic and hadn't actually heard of uvloop
. I got around it by disabling it in the Sanic config but it would be nice if these methods could be implemented.
Yes, sock_recvfrom
is also not implemented
uvloop/loop.pyx
@cython.iterable_coroutine
async def sock_recvfrom(self, sock, bufsize):
raise NotImplementedError
@cython.iterable_coroutine
async def sock_recvfrom_into(self, sock, buf, nbytes=0):
raise NotImplementedError
@cython.iterable_coroutine
async def sock_sendto(self, sock, data, address):
raise NotImplementedError
PYTHONASYNCIODEBUG
in env?: Not a bugThe uvloop not implement method sock_sendto.
The simple test case that reproduces the problem:
uvloop == 0.20.0 response: