You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/serhiy-storchaka'closed_at=<Date2016-03-06.12:34:10.437>created_at=<Date2016-01-05.14:47:37.168>labels= ['type-feature', 'tests']
title='Add new tests for pickling iterators of mutable sequences'updated_at=<Date2016-03-06.12:34:10.435>user='https://github.com/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 iterators).
Note that there is a difference in the behavior of exhausted array iterator from other iterators. Perhaps this should be changed.
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.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: