There are a couple of folks looking at this: 1. An attempt to get this into the python core: http://bugs.python.org/issue1092962 2. A bunch of generator tools which include a pickle extension to pickle 'em: http://pypi.python.org/pypi/generator_tools 3. Stackless I think lets you pickle tasklets and generators.
mick On Thu, Apr 9, 2009 at 17:04, Daniel Kersten <[email protected]> wrote: > Hi all, > > I was looking at this ages back and just thought of it again. Basically, I > want to pickle generators :-D > > Does anyone know any way I could hack this in? I had thought about storing > and restoring the my_generator.gi_frame objects, but I cant seem to figure > out any way of actually doing that. Any ideas? > > I know it doesn't really make any sense to do this.. I'm still interested to > see if it can be hacked in there without touching C code. > > Thanks! > > -- > Daniel Kersten. > Leveraging dynamic paradigms since the synergies of 1985. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Python Ireland" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.ie/group/pythonireland?hl=en -~----------~----~----~----~------~----~------~--~---
