Breaking out of nested loops

Alex Martelli aleax at aleax.it
Sun Jan 13 11:38:12 EST 2002


Justin Sheehy wrote:
        ...
> New syntax is only added when there's a really good justification or
> when the new syntax is "print >>".

Good summary.

> Further, the print syntax addition is harmless even if it is
> unneccesary and ugly, as it doesn't use up a keyword and can't break
> any existing working code.

Bad summation.  By this reasoning, we should have "break >> 3" -- it's
unnecessary, ugly, doesn't use up a keyword, can't break any existing
working code.


Alex




More information about the Python-list mailing list