[Python-ideas] Python Float Update
Terry Reedy
tjreedy at udel.edu
Tue Jun 2 00:20:19 CEST 2015
On 6/1/2015 2:02 AM, Jim Witschey wrote:
> On Mon, Jun 1, 2015 at 12:37 AM, Terry Reedy <tjreedy at udel.edu> wrote:
>> The competing proposal is to treat decimal literals as decimal.Decimal
>> values.
>
> Is that an existing PEP? I couldn't find any such proposal.
No, it is an idea presented here and other python lists. Example: just
today, Laura Creighton wrote on python-list (Re: What is considered an
"advanced" topic in Python?)
> But I am a bad arguer.
> When incompatibilites were going into Python 3.0 I wanted
> y = 1.3 to give you a decimal, not a float.
> If you wanted a float you would have to write y = 1.3f or something.
> I lost that one too. I still think it would be great.
> But, hell, I write accounting and bookkeeping systems. Your milage
> may vary. :)
There is no PEP AFAIK because no one has bothered to write one sure to
be rejected.
--
Terry Jan Reedy
More information about the Python-ideas
mailing list