1 or 1/0 doesn't raise an exception

Daniel Fetchinson fetchinson at googlemail.com
Sat Dec 13 21:08:37 EST 2008


Is it a feature that

1 or 1/0

returns 1 and doesn't raise a ZeroDivisionError? If so, what's the rationale?


-- 
Psss, psss, put it down! - http://www.cafepress.com/putitdown



More information about the Python-list mailing list