How to break out of two nested for loops?

Aahz Maruch aahz at
Thu Jan 24 05:56:30 CET 2002

In article <3C4F83AE.2070302 at>,
Mark Hammond  <mhammond at> wrote:
>Aahz Maruch wrote:
>> In article <slrna4ukor.1fp.Gareth.McCaughan at g.local>,
>> Gareth McCaughan <Gareth.McCaughan at> 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.
>You mean you took it personally?

No, I just thought it was worth flaming.
                      --- Aahz  <*>  (Copyright 2002 by aahz at

Hugs and backrubs -- I break Rule 6       
Androgynous poly kinky vanilla queer het Pythonista   

"I support family values -- Addams family values"

More information about the Python-list mailing list