]> granicus.if.org Git - python/commit
Issue #26494: Fixed crash on iterating exhausting iterators.
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Mar 2016 17:41:15 +0000 (20:41 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Mar 2016 17:41:15 +0000 (20:41 +0300)
commitab479c49d31be03e85b824b8444b474b28e6db71
treef171c7cb1f6e5568b7309665b0e87dae9dda67f5
parentfe4c01268cf9e94869a476495213fc362ef3a697
parentfbb1c5ee068d209e33f6e15ecb4821d5d8b107fa
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.
15 files changed:
Lib/test/support/__init__.py
Lib/test/test_bytes.py
Lib/test/test_deque.py
Lib/test/test_dict.py
Lib/test/test_ordered_dict.py
Lib/test/test_set.py
Misc/NEWS
Modules/posixmodule.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/dictobject.c
Objects/listobject.c
Objects/setobject.c
Objects/tupleobject.c
Objects/unicodeobject.c