Serhiy Storchaka added the comment: Updated patch conforms to new tests and to following rule: exhausted iterators of mutable sequences can be replaced with iter(()), non-exhausted iterators can't.
---------- Added file: http://bugs.python.org/file41854/iterators_pickle_2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25776> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com