[Python-ideas] Decimal literal?
python at rcn.com
Thu Dec 4 09:00:04 CET 2008
From: "Chris Rebert" <clp at rebertia.com>
> With Python 3.0 being released, and going over its many changes, I was
> reminded that decimal numbers (decimal.Decimal) are still relegated to
> a library and aren't built-in.
> Has there been any thought to adding decimal literals and making
> decimal a built-in type?
It's a non-starter until there is a fast, clean C implementation of decimal.
The current module is hundreds of times slower than binary floats.
More information about the Python-ideas