fun with nested loops

Terry Reedy tjreedy at udel.edu
Thu Sep 1 14:40:28 EDT 2011


On 9/1/2011 10:05 AM, Daniel wrote:

You seems to be requesting one of the options in
http://python.org/dev/peps/pep-3136/ Labeled break and continue
(The 'Other languages' section omits Fortran.)

The rejection post is at
http://mail.python.org/pipermail/python-3000/2007-July/008663.html
I basically agree with it.

Your use case seems to be valid, extreme, and rare. You would probably 
use the proposed feature responsibly. But you are not everyone. I am not 
sure what Python-solution I would recommend. I might just stick with 
whatever you are doing that works for your group. However, I can also 
understand the desire to improve.

-- 
Terry Jan Reedy




More information about the Python-list mailing list