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

Stefan Krah report at bugs.python.org
Wed Apr 16 21:46:18 CEST 2014


Stefan Krah added the comment:

In the case of DivisionImpossible it would actually be possible to use
the error message 'quotient too large in //, % or divmod'.

But that's just one condition.  In the case of InvalidOperation there
are something like 30 different error messages.

----------

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


More information about the Python-bugs-list mailing list