Revisiting Generators and Subgenerators

Sebastien Binet seb.binet at
Fri Mar 26 15:29:57 CET 2010

On Mar 25, 10:39 pm, Winston <winst... at> wrote:
> Here's my proposal again, but hopefully with better formatting so you
> can read it easier.
> -Winston
> -----------------
> Proposal for a new Generator Syntax in Python 3K--
> A Baton object for generators to allow subfunction to yield, and to
> make
> them symetric.

isn't a Baton what CSP calls a channel ?

there is this interesting PyCSP library (which implements channels
over greenlets, os-processes (via multiprocessing) or python threads)


More information about the Python-list mailing list