Against PEP 240

Des Small des.small at bris.ac.uk
Thu May 31 10:04:57 CEST 2001


On Thu, 31 May 2001 02:02:41 -0400, Tim Peters <tim_one at email.msn.com> wrote:
>[Robin Becker]
>> ...
>> As it stands the PEP demands rationals for all float constants,
>
>Not so:  the PEP does not demand rationals for float literals with an
>exponent.  1.1, yes; 1.1e1, no.  I don't expect you'll like that any better,
>but object to what it actually proposes (to avoid confusing things more).
>
Floating point is my bread and butter, and the only reason I use
Python (really Numpy).  Is there any chance that the 'future' syntax
could be adapted so that we could have, say,

from past import __proper_bloody_floats_dammit__

as a way of getting floats as a default for 1.1 and its little friends?

Des,
not an accountant.



More information about the Python-list mailing list