[Python-Dev] PEP 3152 and yield from Future() (original) (raw)

Łukasz Langa lukasz at langa.pl
Thu Apr 23 17:30:26 CEST 2015


On Apr 23, 2015, at 8:22 AM, andrew.svetlov at gmail.com wrote:

I can live with cocall fut() but the difference between data = yield from loop.sockrecv(sock, 1024) and data = cocall (loop.sockrecv(sock, 1024))() frustrates me very much.

This is unacceptable. None of the existing async/await implementations in other languages force you to write stuff like this.

-- Best regards, Łukasz Langa

WWW: http://lukasz.langa.pl/ Twitter: @llanga IRC: ambv on #python-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20150423/c064fba1/attachment.html>



More information about the Python-Dev mailing list