PEP 492 - Coroutines with async and await syntax

42 views
Skip to first unread message

Stefan Behnel

unread,
Apr 18, 2015, 2:12:43 AM4/18/15
to Cython-devel, Cython-users
Hi!

Looks like there's a new PEP coming up which receives rather strong support:

https://www.python.org/dev/peps/pep-0492/

It proposes new sytax constructs like

async with EXPR as VAR:
BLOCK

async for TARGET in ITER:
BLOCK

that substantially simplify asynchronous code. Here's the current
discussion thread on python-ideas:

http://comments.gmane.org/gmane.comp.python.ideas/33009

Stefan
Reply all
Reply to author
Forward
0 new messages