]> 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 13:47:57 +0000 (13:47 +0000)
committerKristján Valur Jónsson <sweskman@gmail.com>
Wed, 5 Mar 2014 13:47:57 +0000 (13:47 +0000)
commit25dded041fe532fcb041b6e68582bf76b4968132
tree3c70fceb3fe5ef98a17b85aa94704d20eb5a853d
parent4ca688edeb07de955e1ef67c11f0e327f12ffa6e
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