[issue26395] asyncio does not support yielding from recvfrom (socket/udp)
Guido van Rossum
report at bugs.python.org
Sat Feb 20 19:36:37 EST 2016
Guido van Rossum added the comment:
I won't make you go through the PEP process, but I do think it's a bad
idea to add this. After all datagrams aren't guaranteed to arrive, so,
whil I don't know what protocol you're trying to implement, I think
you're probably better off writing the whole thing as a
DatagramProtocol subclass that handles all incoming packets.
If you need help writing your app's code it's probably better to ask
around on a mailing list.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26395>
_______________________________________
More information about the Python-bugs-list
mailing list