multi-level break

Gordon McMillan gmcm at hypernet.com
Sun Oct 17 15:16:27 EDT 1999


Toby Kelsey wrote:

> At the moment I am setting and checking flag variables to emulate
> this, which I find tedious and ugly.  Am I missing a better
> idiom?

Some people abuse exceptions for this.
 
> As much as I dislike feeping creatures, it would be nice to see
> "break <num>" in version 2.0.  IMHO obvious, simple and useful.

Bleah ;-(.

- Gordon




More information about the Python-list mailing list