Revisiting Generators and Subgenerators
Sebastien Binet
seb.binet at gmail.com
Fri Mar 26 10:29:57 EDT 2010
On Mar 25, 10:39 pm, Winston <winst... at stratolab.com> 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)
http://code.google.com/p/pycsp
cheers,
sebastien.
More information about the Python-list
mailing list