Re: [Python-Dev] Coroutines (PEP 342)

2005-11-17 Thread Martin Blais
On 11/14/05, Bruce Eckel <[EMAIL PROTECTED]> wrote: > I just finished reading PEP 342, and it appears to follow Hoare's > Communicating Sequential Processes (CSP) where a process is a > coroutine, and the communicaion is via yield and send(). It seems that > if you follow that form (and you don't s

Re: [Python-Dev] Coroutines (PEP 342)

2005-11-15 Thread Donovan Baarda
On Mon, 2005-11-14 at 15:46 -0700, Bruce Eckel wrote: [...] > What is not clear to me, and is not discussed in the PEP, is whether > coroutines can be distributed among multiple processors. If that is or > isn't possible I think it should be explained in the PEP, and I'd be > interested in know abo

Re: [Python-Dev] Coroutines (PEP 342)

2005-11-14 Thread Phillip J. Eby
At 03:46 PM 11/14/2005 -0700, Bruce Eckel wrote: >I just finished reading PEP 342, and it appears to follow Hoare's >Communicating Sequential Processes (CSP) where a process is a >coroutine, and the communicaion is via yield and send(). It seems that >if you follow that form (and you don't seem for