Most "active" coroutine library project?

Jason Tackaberry tack at urandom.ca
Wed Sep 23 18:18:26 EDT 2009


On Wed, 2009-09-23 at 22:07 +0000, exarkun at twistedmatrix.com wrote:
> Sure, no value judgement intended, except on the practice of taking 
> words with well established meanings and re-using them for something 
> else ;)

I think it's the behaviour that's important, and not the specific syntax
needed to implement that behaviour.

In other words, I disagree (if this is what you're suggesting) that
sticking "yield" in front of certain expressions makes it any less a
coroutine.

Now, requiring explicit yields does mean that the coroutine has
specific, well-defined points of reentry.  But I don't believe it's a
necessary condition that coroutines allow arbitrary (in the
non-deterministic sense) reentry points, only multiple.

Cheers,
Jason.




More information about the Python-list mailing list