1 or 1/0 doesn't raise an exception

Grant Edwards invalid at invalid
Mon Dec 15 17:07:13 CET 2008


On 2008-12-14, Peter Otten <__peter__ at web.de> wrote:
> Grant Edwards wrote:
>
>> Short circuit evaluation of booleans is very common (and has
>> been for decades), so I don't know why people would expect
>> something else.
>
> Visual Basic ;) 

I should have known...

-- 
Grant Edwards                   grante             Yow! I'm using my X-RAY
                                  at               VISION to obtain a rare
                               visi.com            glimpse of the INNER
                                                   WORKINGS of this POTATO!!



More information about the Python-list mailing list