[New-bugs-announce] [issue26015] Add new tests for pickling iterators of mutable sequences

Serhiy Storchaka report at bugs.python.org
Tue Jan 5 09:47:37 EST 2016


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 iterators).

Note that there is a difference in the behavior of exhausted array iterator from other iterators. Perhaps this should be changed.

----------
components: Tests
files: iterators_pickle_tests.patch
keywords: patch
messages: 257530
nosy: serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Add new tests for pickling iterators of mutable sequences
type: enhancement
versions: Python 2.7, Python 3.5, Python 3.6
Added file: http://bugs.python.org/file41507/iterators_pickle_tests.patch

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


More information about the New-bugs-announce mailing list