[issue21227] Decimal class error messages for integer division aren't good

Stefan Krah report at bugs.python.org
Wed Apr 16 18:38:51 CEST 2014


Stefan Krah added the comment:

It is hard to get fine grained error messages in _decimal, since
the errors come from libmpdec.  A clean solution would require
changes to libmpdec, and I'm reluctant to do that right now.

It is certainly possible to document DivisionImpossible etc.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21227>
_______________________________________


More information about the Python-bugs-list mailing list