18 Feb
2014
18 Feb
'14
10:02 p.m.
Alexander Belopolsky wrote:
- ArithmeticError - AttributeError - LookupError - TypeError ? - ValueError ?
I'd also include EnvironmentError. I wouldn't include TypeError -- that's much more likely to indicate a bug. But this list is getting rather long, which makes me think it's not such a good idea to have a default exception list after all. (BTW, why doesn't ArithmeticError inherit from ValueError?) -- Greg