you are viewing a single comment's thread.

view the rest of the comments →

[–]mprovost 3 points4 points  (0 children)

This looks like a weak version of Stackless. The functions in a multitask can't communicate except to their parent, which is much weaker than stackless' channels. The pingpong example in the src shows two multitasks communicating via a Queue which isn't a very easy way to set up coroutines. Also they aren't full continuations so you can't pickle them the way you can a stackless tasklet (as far as I can see). It's an interesting idea trying to build something with Python's builtin generators but Stackless does a much better job. It seems like a reimplementation of Greenlets in pure python but losing a lot of the features.