]> granicus.if.org Git - python/commit
Make the various iterators' "setstate" sliently and consistently clip the
authorKristján Valur Jónsson <sweskman@gmail.com>
Wed, 5 Mar 2014 15:23:07 +0000 (15:23 +0000)
committerKristján Valur Jónsson <sweskman@gmail.com>
Wed, 5 Mar 2014 15:23:07 +0000 (15:23 +0000)
commitc5cc5011ac33f96a8bf28e3ba088980fd5e71d7a
tree21c775f7b89e60348ed587d1bb983b2cd61e723b
parent25ea45db81540b8c589c65edf2564c04461b1f34
parent25dded041fe532fcb041b6e68582bf76b4968132
Make the various iterators' "setstate" sliently and consistently clip the
index.  This avoids the possibility of setting an iterator to an invalid
state.
Lib/test/test_range.py
Modules/arraymodule.c
Objects/bytearrayobject.c
Objects/bytesobject.c
Objects/listobject.c
Objects/rangeobject.c
Objects/tupleobject.c
Objects/unicodeobject.c