for / while else doesn't make sense

Michael Selik michael.selik at gmail.com
Wed Jun 15 13:18:22 EDT 2016


On Wed, Jun 15, 2016, 10:28 AM Rustom Mody <rustompmody at gmail.com> wrote:

> Where did the question of "break can be written as goto" come from?
>

Stephen said the "else" in for-else was "unconditional". He argued that
neither the presence nor absence of a break should be considered a
condition, because we don't consider the occurrence or non-occurrence of an
exception (goto) as a condition of whether to run the else-clause.

>



More information about the Python-list mailing list