Dear all,

For my work, I needed a python sandbox which contained the 'await' keyword
for asynchronous programming, just like c# does.
I found it very easy to extend the 2.7 grammar and include this keyword.

https://bitbucket.org/jonathanslenders/pypy

Personally, I think this is a very clean solution for Twisted's
@defer.inlineCalbacks, Tornado's @gen.engine, and similar functions in
other async frameworks.

Just sharing this information, but I'd also like to know whether Python
code developers would consider to implement this in the Python standard
language. (maybe Python 3000.) I really have no idea what steps are taken
before accepting new grammar, but I'm willing to defend this syntax or to
write some articles about it.

Cheers,
Jonathan
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to