Re: [pypy-dev] Await-keyword

2012-12-21 Thread holger krekel
On Fri, Dec 21, 2012 at 10:05 +0100, Armin Rigo wrote: > Hi Jonathan, > > On Thu, Dec 20, 2012 at 11:11 PM, Benjamin Peterson > wrote: > > 2012/12/20 Jonathan Slenders : > >> Personally, I think this is a very clean solution for Twisted's > >> @defer.inlineCalbacks, Tornado's @gen.engine, and si

Re: [pypy-dev] Await-keyword

2012-12-21 Thread Armin Rigo
Hi Jonathan, On Thu, Dec 20, 2012 at 11:11 PM, Benjamin Peterson wrote: > 2012/12/20 Jonathan Slenders : >> 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

Re: [pypy-dev] Await-keyword

2012-12-20 Thread Benjamin Peterson
2012/12/20 Jonathan Slenders : > 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 con

[pypy-dev] Await-keyword

2012-12-20 Thread Jonathan Slenders
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 solu