for / while else doesn't make sense

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Sat Jun 4 23:20:44 EDT 2016


On Saturday, June 4, 2016 at 9:27:58 PM UTC+12, Steven D'Aprano wrote:
> Are you really questioning the need for for-loops to stop iterating
> when they reach the end of the sequence or iterator?

I just want to point out how you turn a discussion about the behaviour of loops into one about the behaviour of for-loops specifically.

> I'll give you the benefit of the doubt and assume you're not trolling.

Please, do not make this personal. That’s a sign of running out of rational things to say.



More information about the Python-list mailing list