[New-bugs-announce] [issue8947] Provide as_integer_ratio() method to Decimal

Alexander Belopolsky report at bugs.python.org
Tue Jun 8 22:51:08 CEST 2010


New submission from Alexander Belopolsky <belopolsky at users.sourceforge.net>:

Here is my use case: recently implemented timedelta * float operation starts with converting float to an int ratio.  The same algorithm can be used for decimals, but they don't support as_integer_ratio().

----------
components: Extension Modules
messages: 107345
nosy: belopolsky
priority: normal
severity: normal
status: open
title: Provide  as_integer_ratio() method to Decimal
type: feature request
versions: Python 3.2

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


More information about the New-bugs-announce mailing list