Why does next raise a ‘StopIteration’, but ‘for’ do a normal return?
In this piece of code, why does using for result in no StopIteration
or is the for loop trapping all exceptions and then silently exiting?
In which case, why do we have the extraneous return?? Or is the
raise StopIteration caused by: return None?