[issue7046] decimal.py: use DivisionImpossible and DivisionUndefined
Stefan Krah
report at bugs.python.org
Sat Oct 3 15:30:56 CEST 2009
New submission from Stefan Krah <stefan-usenet at bytereef.org>:
In many cases, decimal.py sets InvalidOperation instead of
DivisionImpossible or DivisionUndefined.
Mark, could I persuade you to isolate these cases by running a modified
deccheck2.py from mpdecimal (See attachment), which does not suppress
differences in the division functions?
----------
files: div-deccheck2.py
messages: 93490
nosy: mark.dickinson, skrah
severity: normal
status: open
title: decimal.py: use DivisionImpossible and DivisionUndefined
Added file: http://bugs.python.org/file15029/div-deccheck2.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7046>
_______________________________________
More information about the Python-bugs-list
mailing list