[Python-ideas] Cofunctions - Back to Basics

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Oct 30 02:39:33 CEST 2011


Paul Moore wrote:
> There's one further piece of the puzzle I'd
> like to see covered, though - with the language support as defined in
> the PEP, can the functionality be implemented library-style (like Lua)
> or does it need new syntax?

While it might not need new syntax, it does hinge
fundamentally on changing the way the interpreter loop
works, so I don't think a library implementation would
be possible.

-- 
Greg



More information about the Python-ideas mailing list