commit | b6405efd1bf8031fc3f15fbeba4f0e048844a50d | [log] [tgz] |
---|---|---|
author | Stefan Krah <skrah@bytereef.org> | Fri Mar 23 14:46:48 2012 +0100 |
committer | Stefan Krah <skrah@bytereef.org> | Fri Mar 23 14:46:48 2012 +0100 |
tree | b78f15d0ea428616cd0158317b56fac671f5921d | |
parent | 4b0215fd997cbdc714cb7515e121be96b9087cf4 [diff] |
Use the same exception hierarchy as decimal.py. FloatOperation now also inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.