[issue25928] Add Decimal.as_integer_ratio()
Stefan Krah
report at bugs.python.org
Wed Dec 23 17:25:16 EST 2015
Stefan Krah added the comment:
Let's re-target this issue:
Implementing as_integer_ratio() sounds reasonable, but let's hope
people won't try to convert Decimal('1E+999999999999999999').
Mark, was there perhaps a reason not to add the method?
----------
assignee: -> skrah
nosy: +mark.dickinson
title: Improve performance of statistics._decimal_to_ratio and fractions.from_decimal -> Add Decimal.as_integer_ratio()
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25928>
_______________________________________
More information about the Python-bugs-list
mailing list