[issue26395] asyncio does not support yielding from recvfrom (socket/udp)

Simon Bernier St-Pierre report at bugs.python.org
Sat Feb 20 17:50:29 EST 2016


New submission from Simon Bernier St-Pierre:

I want to receive data on a UDP socket that was bound, without blocking the event loop. I've looked through the asyncio docs, and I haven't found a way of doing that using the coroutine API (yield from/await).

There is a sock_recv method on BaseEventLoop which is a coroutine, it seems like sock_recvfrom was never implemented.

I don't have a patch for this right now, I wanted to know what people thought of adding support for this.

----------
components: asyncio
messages: 260580
nosy: Simon Bernier St-Pierre, gvanrossum, haypo, yselivanov
priority: normal
severity: normal
status: open
title: asyncio does not support yielding from recvfrom (socket/udp)
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26395>
_______________________________________


More information about the Python-bugs-list mailing list