Re: [Python-Dev] PEP 340 keyword: Extended while syntax

2005-05-05 Thread Ron Adam
Gustavo Niemeyer wrote: > Greetings, > > >>Reasoning: The block statement resembles a "while" block in some ways in >>that it is a conditional block that may be executed only once, or >>possibly not at all (or many times). And the word "while" is also >>descriptive of how a block is used. >>

Re: [Python-Dev] PEP 340 keyword: Extended while syntax

2005-05-05 Thread Gustavo Niemeyer
Greetings, > Reasoning: The block statement resembles a "while" block in some ways in > that it is a conditional block that may be executed only once, or > possibly not at all (or many times). And the word "while" is also > descriptive of how a block is used. > > while VAR1 from EXPR1():

Re: [Python-Dev] PEP 340 keyword: Extended while syntax

2005-05-05 Thread Ron Adam
I expect there's an obvious reason why this hasn't been suggested already that I'm not currently thinking of, but here it is anyway. :-) How about an *extended while* syntax as a block keyword alternative? Reasoning: The block statement resembles a "while" block in some ways in that it is a