This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients georg.brandl, jcea, kristjan.jonsson, loewis, michael.foord, pitrou, rhettinger, sbt
Date 2012-03-24.22:40:37
SpamBayes Score 2.1955916e-06
Marked as misclassified No
Message-id <1332628838.1.0.881595707504.issue14288@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-03-24 22:40:38rhettingersetrecipients: + rhettinger, loewis, georg.brandl, jcea, pitrou, kristjan.jonsson, michael.foord, sbt
2012-03-24 22:40:38rhettingersetmessageid: <1332628838.1.0.881595707504.issue14288@psf.upfronthosting.co.za>
2012-03-24 22:40:37rhettingerlinkissue14288 messages
2012-03-24 22:40:37rhettingercreate