[Python-3000] Announcing PEP 3136

Giovanni Bajo rasky at develer.com
Tue Jul 3 10:27:03 CEST 2007


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




More information about the Python-3000 mailing list