[Twisted-Python] PEP 334 - Simple Coroutines via SuspendIteration

William la Forge Jr LAFORGE49 at peoplepc.com
Thu Sep 9 10:56:16 EDT 2004


I'll note that you are still coupling data flow and control flow.
If you think of coroutines as light-weight threads that operate
very nicely in an asynchronous environment, then it becomes apparent
that coroutines could easily move data via an asynchronously implemented
pipe or queue.

Which is exactly what I'm doing in CompStrm. ;-)

Bill la Forge

More information about the Twisted-Python mailing list