[issue26015] Add new tests for pickling iterators of mutable sequences

2016-03-06 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In 2.7 iterators are not pickleable. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7 ___ Python tracker ___

[issue26015] Add new tests for pickling iterators of mutable sequences

2016-03-06 Thread Roundup Robot
Roundup Robot added the comment: New changeset dfef42311c71 by Serhiy Storchaka in branch '3.5': Issue #26015: Added new tests for pickling iterators of mutable sequences. https://hg.python.org/cpython/rev/dfef42311c71 New changeset be96b2784f73 by Serhiy Storchaka in branch 'default': Issue #26

[issue26015] Add new tests for pickling iterators of mutable sequences

2016-03-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: These tests look fine. I won't miss "orgit" ;-) In test_reversed_pickle, please add the blank line before each section like you did for the other tests. I agree that exhausted array iterator should change to match the others. Once an iterator is exhauste

[issue26015] Add new tests for pickling iterators of mutable sequences

2016-03-05 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue26015] Add new tests for pickling iterators of mutable sequences

2016-01-05 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Proposed patch updates tests for iterators of mutable sequences. Now tested iterators in all four states (initial, running, empty and exhausted), and tested that unpickled iterator is linked with a sequence, not with an independed copy (as in case of dict