Antoine Pitrou <pit...@free.fr> added the comment:

> 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).

----------

_______________________________________
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