[issue8947] Provide as_integer_ratio() method to Decimal

Raymond Hettinger report at bugs.python.org
Fri Jun 25 20:07:52 CEST 2010

Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

-0  I don't think we really need this (we've already got a reasonable conversion to Fraction).

In general, we should have a aversion to adding any methods to the decimal API because it is already very fat.  Adding more methods makes it harder to figure out which one is the right one to use.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list