You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you reproduce the bug with PYTHONASYNCIODEBUG in env?:
Does uvloop behave differently from vanilla asyncio? How?: There is a change made in CPython 3.13 to remove this behaviour.
The Datagram transport in both asyncio.DatagramTransport and uvloop.UDPTransport will return and ignore calls to sendto if the data is empty. This prohibits users from sending zero-length datagrams.
The behaviour will be removed in CPython 3.13 (see python/cpython#113812). Note that the public API in uvloop references the Python asyncio behaviour.
PYTHONASYNCIODEBUG
in env?:The Datagram transport in both
asyncio.DatagramTransport
anduvloop.UDPTransport
will return and ignore calls tosendto
if the data is empty. This prohibits users from sending zero-length datagrams.The behaviour will be removed in CPython 3.13 (see python/cpython#113812). Note that the public API in
uvloop
references the Pythonasyncio
behaviour.uvloop/uvloop/handles/udp.pyx
Lines 284 to 286 in 6c770dc
The text was updated successfully, but these errors were encountered: