On 03/07/2007 9.17, Neil Toronto wrote: > Greg Ewing wrote: >> On 30/06/2007 22.54, Matt Chisholm wrote: >> >> >>> I've created and submitted a new PEP proposing support for labels in >>> Python's break and continue statements. >>> >>> http://www.python.org/dev/peps/pep-3136/ >>> >> -1. Confusing nested loops are best broken out into >> separate functions rather than patching over the >> problem with features like this. >> > > +1 (not that my vote really counts for much). Breaking logic out into > separate functions can obscure the meaning of an algorithm that is most > naturally implemented with nested loops.
Do you have a concrete, real-world example? -- Giovanni Bajo _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com