1 or 1/0 doesn't raise an exception

Peter Otten __peter__ at web.de
Sun Dec 14 16:49:06 CET 2008

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 ;) 

More information about the Python-list mailing list