How to break out of two nested for loops?

Aahz Maruch aahz at panix.com
Wed Jan 23 20:09:07 EST 2002


In article <slrna4ukor.1fp.Gareth.McCaughan at g.local>,
Gareth McCaughan <Gareth.McCaughan at pobox.com> wrote:
>
>I'm not saying that no one should use exceptions for ordinary
>control flow in Python. I'm saying that if someone is uncomfortable
>about doing that then that doesn't indicate that their brain is
>hopelessly un-Pythonic. That's all.

The comment that I flamed compared exceptions to gotos.  That goes too
far beyond simple discomfort IMO, given the nature of Python's design.
-- 
                      --- Aahz  <*>  (Copyright 2002 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

"I support family values -- Addams family values" --www.nancybuttons.com



More information about the Python-list mailing list