How to break out of two nested for loops?

Mark Hammond mhammond at skippinet.com.au
Thu Jan 24 04:45:57 CET 2002


Aahz Maruch wrote:
> 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.

You mean you took it personally?

Mark.




More information about the Python-list mailing list