I'm coming from Tcl-world ...

Hans Nowak wurmy at earthlink.net
Tue Aug 6 13:26:54 EDT 2002


Andreas Leitgeb wrote:
> Hans Nowak <wurmy at earthlink.net> wrote:
> 
>>> [ 'A loop, whose body can directly and freely modify the 
>>>      loop-var, thereby controlling the loop' ]
>>> Python lacks it.
>>
>>Such a loop seems a bit "un-Pythonic", 
> 
> 
> Surely, before 2.2,  generators looked very "un-Pythonic", too.
>   for i in list_of_features_not_in_current_Python:
>     assert( i.isPythonic == 0 )
> ;-)

Yeah, you have a point there.

>>>I wrote: the location of continue may be nested arbitrarily deep down
>>>  inside other if's.
>>
>>I may be misunderstanding something here, but my code did not contain 
>>a continue...
> 
> Yes, you have been misunderstanding me, but it doesn't matter.
> If you like this sorted out, mail me, and when we're done, maybe
> we write a followup with the consensus. (otherwise such threads never end)

There are worse threads to participate in... at least this one is constructive.

-- 
Hans (base64.decodestring('d3VybXlAZWFydGhsaW5rLm5ldA=='))
# decode for email address ;-)
The Pythonic Quarter:: http://www.awaretek.com/nowak/




More information about the Python-list mailing list