[issue7047] decimal.py: NaN payload conversion
Mark Dickinson
report at bugs.python.org
Sat Oct 3 17:30:53 CEST 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
This is essentially the same issue as issue 7046: the relevant lines in
decimal.py read:
if d._isnan() and len(d._int) > self.prec - self._clamp:
return self._raise_error(ConversionSyntax,
"diagnostic info too long in NaN")
and again, the Context._raise_error method translates the
ConversionSyntax exceptional condition to the corresponding
InvalidOperation signal.
Closing as a duplicate, just so we can keep everything one place.
----------
resolution: -> duplicate
status: open -> closed
superseder: -> decimal.py: use DivisionImpossible and DivisionUndefined
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7047>
_______________________________________
More information about the Python-bugs-list
mailing list