Proposal: Decimal literals in Python.

Ben Finney bignose+hates-spam at
Fri Oct 26 15:15:34 CEST 2007

Steven D'Aprano <steve at> writes:

> On Fri, 26 Oct 2007 19:19:46 +1000, Ben Finney wrote:
> > Nor should we. A function or type name should be short but
> > explicit, and 'Decimal' is about as short as I'd want.
> You don't like str, int, float, list, set, dict, or bool?

They'd all make lousy names for a decimal type.

 \              "Whatever you do will be insignificant, but it is very |
  `\                     important that you do it."  -- Mahatma Gandhi |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list