math module for Decimals

Mark Dickinson dickinsm at gmail.com
Sat Jan 3 16:27:06 EST 2009


On Dec 31 2008, 11:02 pm, Steven D'Aprano <st... at REMOVE-THIS-
cybersource.com.au> wrote:
> On Sun, 28 Dec 2008 06:38:32 -0800, Mark Dickinson wrote:
> > On Dec 28, 7:28 am, Steven D'Aprano <st... at REMOVE-THIS-
> > cybersource.com.au> wrote:
> >> Ah crap, I forgot that from_float() has been left out of the decimal
> >> API. That's very annoying.
>
> > Agreed.  It's maybe even annoying enough that a feature request at
> > bugs.python.org might be honoured.  (Hint, hint!)
>
> I can take a hint :)
>
> http://bugs.python.org/issue4796#

Decimal.from_float() implemented by Raymond Hettinger for Python 2.7
and Python 3.1, within 72 hours of Steven submitting the feature
request.  If only all issues could be resolved this quickly. :-)

Mark



More information about the Python-list mailing list