"print 0.1==0.1" -> TypeError; what did I do?

Maciej Kalisiak mac at dgp.toronto.edu
Tue Dec 4 14:02:15 EST 2001


Pete Shinners <pete at shinners.org> writes:

> >>    hasattr(None, "spam")
> >>
> 
> therefore, the exception being raised by your function is being
> overwritten by another exception, then all the exceptions are
> cleared.

Ahhhh... and here I was thinking that there was something magical
about None and "spam"... :)

-- 
Maciej Kalisiak|mac@] 
dgp.toronto.edu|www.] "I like work ... I can sit and watch it for hours."
dgp.toronto.edu/~mac] 



More information about the Python-list mailing list