[issue26974] Crash in Decimal.from_float

Stefan Krah report at bugs.python.org
Sun Jul 17 09:03:36 EDT 2016


Stefan Krah added the comment:

I'm leaving this open in case anyone wants to do something about the Python version. I tend to agree with Raymond:

It is impractical to "fix" all such constructs in the Python version, unless one consistently uses a style like:

   float.as_integer_ratio(float.__abs__(-1.5))

----------
resolution:  -> fixed
stage: patch review -> commit review

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


More information about the Python-bugs-list mailing list