Issue #26494: Fixed crash on iterating exhausting iterators.

Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
This commit is contained in:
Serhiy Storchaka 2016-03-30 20:40:02 +03:00
parent 13b3acd13e
commit fbb1c5ee06
19 changed files with 94 additions and 24 deletions

View file

@ -10,6 +10,11 @@ Release date: tba
Core and Builtins
-----------------
- Issue #26494: Fixed crash on iterating exhausting iterators.
Affected classes are generic sequence iterators, iterators of str, bytes,
bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding
views and os.scandir() iterator.
- Issue #26581: If coding cookie is specified multiple times on a line in
Python source code file, only the first one is taken to account.