Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

Has python-dev discussion been launched?  It is far from clear that this is 
worth doing.  Pickling runtime structures may be a normal use case for 
Stackless but isn't a normal use case for regular Python.  

Also, it seems pointless to start down this path because it will always be 
incomplete (i.e. pickling running generators, or socket streams, etc).

It also seems to be at odds with the normal use case for passing around 
partially consumed iterators -- the laziness and memory friendliness is a 
desired feature; however, the patch pickles some iterators (such as dicts) by 
running them to completion and storing *all* of the results that would have 
been returned.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14288>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to