Haha! This is actually how for loops and iterators work: iterator raises `StopIteration`, for loop stops looping.