Pickling Generators

Emile van Sebille emile at fenx.com
Fri Oct 31 17:38:51 EST 2003


Jenna:
> I looked at stackless python but it doesn't appear they have achieved
> serialization of their generator equivalent tasklets. (I could be
> wrong, the docs weren't clear on this issue,

This came up on the stackless list recently, and IIRC pickling of tasklets
does work.  There is a limitation if a uthread calls an external C library.

>  I'm not sure its being maintained anymore anyway)

It is.  If stackless looks like a good fit, it's probably worth another
look.

Emile van Sebille
emile at fenx.com






More information about the Python-list mailing list