Re: [Python-Dev] PEP 340: Non-looping version (aka PEP 310 redux)

2005-05-06 Thread Toby Dickenson
On Thursday 05 May 2005 16:03, Nick Coghlan wrote: > The discussion on the meaning of break when nesting a PEP 340 block > statement inside a for loop has given me some real reasons to prefer PEP > 310's single pass semantics for user defined statements That also solves a problem with resource a

Re: [Python-Dev] PEP 340: Non-looping version (aka PEP 310 redux)

2005-05-05 Thread Steven Bethard
On 5/5/05, Nick Coghlan <[EMAIL PROTECTED]> wrote: > The discussion on the meaning of break when nesting a PEP 340 block statement > inside a for loop has given me some real reasons to prefer PEP 310's single > pass > semantics for user defined statements (more on that at the end). The > suggesti

[Python-Dev] PEP 340: Non-looping version (aka PEP 310 redux)

2005-05-05 Thread Nick Coghlan
The discussion on the meaning of break when nesting a PEP 340 block statement inside a for loop has given me some real reasons to prefer PEP 310's single pass semantics for user defined statements (more on that at the end). The suggestion below is my latest attempt at combining the ideas of the