[Python-ideas] async/await in Python

Yury Selivanov yselivanov.ml at gmail.com
Sat Apr 18 00:25:25 CEST 2015


On 2015-04-17 6:15 PM, Andrew Barnert wrote:
> Could you show the best yield from parallel for the example at the end, so it's easier to see the readability benefits?
>
> Or, even better, provide a simple example that uses async for or async with and the yield from parallel, so it's easier to see the (I'm assuming even bigger, by a long shot) readability benefits?
I don't have a real example, but we're getting there.

Andrew Svetlov made some experiments porting his aiopg library
to the new syntax.  So perhaps early next week we will have
a real example of real code.

You can also experiment yourself with the implementation.

Thanks you,

Yury



More information about the Python-ideas mailing list