Serhiy Storchaka added the comment: Proposed patch extends tests for pickling iterators of mutable sequences. Now tested iterators in different states: initial (no iterated yet), running (in the middle of iteration), empty (just the last item was emitted) and exhausted (tried to iterate past the end).
---------- Added file: http://bugs.python.org/file41853/iterators_pickle_tests.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