On Thu, 26 Feb 2015 16:52:52 +0100
Victor Stinner <[email protected]>
wrote:
> 2015-02-26 16:49 GMT+01:00 Antoine Pitrou <[email protected]>:
> > What is your use case?
> 
> See the code at the end of my message:
> 
> while True:
>     data, addr = sock.recvfrom()
>     ...
> 
> I expect a similar syntax using asyncio:
> 
> while True:
>     data, addr = yield from sock.recvfrom()
>     ...

That's not a use case, just some code :-)

What is the protocol you are handling?

Regards

Antoine.


Reply via email to