![](https://secure.gravatar.com/avatar/72ee673975357d43d79069ac1cd6abda.jpg?s=120&d=mm&r=g)
May 24, 2016
10:41 p.m.
Guido van Rossum wrote:
It's very common for modules to define their own root exception class.
And it's a nuisance when their exceptions only belong to their own private hierarchy and don't participate in any the standard classifications. I don't think Decimal is directly to blame here, because deriving its exceptions from ArithmeticError seems like a reasonable thing to do. What *doesn't* seem reasonable to me is that ArithmeticError doesn't derive from ValueError. So far nobody has explained why that's a good idea. -- Greg