How to break out of two nested for loops?

Mark Hammond mhammond at
Wed Jan 23 22:45:57 EST 2002

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?


More information about the Python-list mailing list