An iterator gave different parts than a list
partition(2, 3, ...) on a list gave [[0, 1], [3, 4], [6, 7]], but on an iterator over the same data it gave [[0, 1], [2, 3, 4], [5, 6, 7], [8, 9]]. In _cut_iter the sliding window only worked when the step was not larger than the part size, and a larger step pulled in too many items.
Skipping the gap between parts
For a step smaller than the part size the sliding window stays, and otherwise _cut_iter discards the step - n items in the gap and takes n fresh ones. Tests compare partition and chunks on an iterator and on a list.