fun with nested loops

Steven D'Aprano steve+comp.lang.python at pearwood.info
Wed Aug 31 20:18:34 EDT 2011


Chris Angelico wrote:

> Ah well, was worth a try. Raising exceptions smells wrong for this,
> but peppering your code with sentinel checks isn't much better. I
> don't really know what would be a good solution to this... except
> maybe this, which was proposed a few years ago and which I'd never
> heard of until Google showed it to me just now:
> http://entrian.com/goto/

You're a wicked, wicked man.

:)


-- 
Steven




More information about the Python-list mailing list