New syntax for blocks

steve steve at lonetwin.net
Tue Nov 10 15:45:37 EST 2009


On 11/11/2009 02:05 AM, steve wrote:
> Hi,
>
> On 11/11/2009 12:53 AM, r wrote:
>> [...snip...]
>>  i dunno, just seems to make good sense. You save one line of code but
>>  more importantly one indention level. However i have no idea how much
>>  trouble the implementation would be?
> I guess the problem would be that this would go against the (design ?) principle
> of not evaluating functions in the 'if' conditional part, because it would lead

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ gah !! sorry, what was I thinking ??
That is just not true !! Anyways, at least the assignments not being allowed bit 
is true.


cheers,
- steve

-- 
random non tech spiel: http://lonetwin.blogspot.com/
tech randomness: http://lonehacks.blogspot.com/
what i'm stumbling into: http://lonetwin.stumbleupon.com/



More information about the Python-list mailing list