Generators are becoming more and more important and powerful in Python. The inability of pickle to save/restore generators has become a major (and growing) limitation to the full exploitation of generators.
The requirement for pickling generators has already been raised in 2003. My project (SimPy - Simulation in Python) has had this requirement since its inception in 2002. Generator pickling would make saving and reloading simulation state trivial. The workarounds one has to use without this capability are baroque and beyond the expertise of a typical simulation user. Is there any hope of action in this area in the foreseeable future? Klaus Muller (Lead designer of SimPy)
-- http://mail.python.org/mailman/listinfo/python-list