How the heck does async/await work in Python 3.5

Rustom Mody rustompmody at gmail.com
Sat Feb 20 00:24:48 EST 2016


On Saturday, February 20, 2016 at 8:07:03 AM UTC+5:30, Steven D'Aprano wrote:
> On Thu, 18 Feb 2016 09:08 am, Mark Lawrence wrote:
> 
> > Seeing there is a lot of interest in asyncio recently I figured people
> > might be interested in this
> > http://www.snarky.ca/how-the-heck-does-async-await-work-in-python-3-5
> 
> 
> Thanks for the link, but I'm now no wiser than I was before :-(
> 
> Can somebody explain Brett's explanation?

Does "C++" light a bulb? <wink>

Less snarkily looks like a series of bolt-ons after bolt-ons

IMHO Guido's (otherwise) uncannily sound intuitions have been wrong right from
2001 when he overloaded def for generators.
And after that its been slippery-slope down: reusing generator-yield (statement)
for coroutine-yield (expression)
Most recently choosing these async-await keywords instead of the more symmetric 
suggestions of Greg Ewing

PS. Will be off email/net for about a week



More information about the Python-list mailing list