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

Raymond Hettinger report at bugs.python.org
Sun Mar 6 06:20:19 EST 2016


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 exhausted, it is required to remain exhausted even if the underlying data mutates.   That rule should survive even after dumping and loading.

----------
assignee: rhettinger -> serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26015>
_______________________________________


More information about the Python-bugs-list mailing list