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 pitrou
Recipients georg.brandl, jcea, kristjan.jonsson, loewis, michael.foord, pitrou, rhettinger, sbt
Date 2012-03-25.12:02:37
SpamBayes Score 2.4918412e-05
Marked as misclassified No
Message-id <1332676958.35.0.966566085206.issue14288@psf.upfronthosting.co.za>
In-reply-to
Content
> The thing to emphasise here is that pickling an iterator is
> "destructive": afterwards the original iterator will be "empty".

If you look at the patch it isn't (or shouldn't be).

I agree with Raymond that accumulating dict and set iterators in a list is a bit weird. That said, with hash randomization, perhaps we can't do any better (the order of elements in the internal table depends on the process-wide hash seed).
History
Date User Action Args
2012-03-25 12:02:38pitrousetrecipients: + pitrou, loewis, georg.brandl, rhettinger, jcea, kristjan.jonsson, michael.foord, sbt
2012-03-25 12:02:38pitrousetmessageid: <1332676958.35.0.966566085206.issue14288@psf.upfronthosting.co.za>
2012-03-25 12:02:37pitroulinkissue14288 messages
2012-03-25 12:02:37pitroucreate