[Python-Dev] Mixing float and Decimal -- thread reboot (original) (raw)

Raymond Hettinger raymond.hettinger at gmail.com
Mon Mar 22 19:34:51 CET 2010


On Mar 22, 2010, at 11:26 AM, Mark Dickinson wrote:

On Mon, Mar 22, 2010 at 5:56 PM, Raymond Hettinger <raymond.hettinger at gmail.com> wrote:

On Mar 22, 2010, at 10:00 AM, Guido van Rossum wrote: Decimal + float --> Decimal If everybody associated with the Decimal implementation wants this I won't stop you; as I repeatedly said my intuition about this one (as opposed to the other two above) is very weak. That's my vote. I believe Nick chimed-in in agreement. Mark, do you concur? Yes; Decimal + float -> Decimal works for me; the greater flexibility of the Decimal type is the main plus for me.

On Mar 22, 2010, at 11:22 AM, Alexander Belopolsky wrote:

I've been lurking on this thread so far, but let me add my +1 to this option.

On Mar 22, 2010, at 11:24 AM, Guido van Rossum wrote:

Thanks, "better" is a great way to express this.

OMG ;-)

It looks like there is a consensus on: Decimal + float --> Decimal

We have progress.

Raymond

-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20100322/ff255cbf/attachment-0001.html>



More information about the Python-Dev mailing list