[Python-ideas] Cofunctions: It's alive! Its alive!

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Aug 11 03:27:04 CEST 2010


Bruce Leban wrote:

> For cocall if this were some other language we might see:
> 
> <cocall>foo()
> cocall:foo()
> cocall$foo()
> =>foo()
> 
> Is there a pythonesque alternative?

It's generally considered unpythonic to assign arbitary meanings
to randomly chosen punctuation (decorator syntax notwithstanding!)
so it will be difficult to find one.

-- 
Greg



More information about the Python-ideas mailing list