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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26395>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to