[Python-Dev] Capitalisation of Decimal class

Guido van Rossum guido at python.org
Thu Jul 8 18:04:37 CEST 2004

> I just had a thought regarding the Decimal class. If the longer-term
> intention is to move the class into the core, then would it be
> sensible to name the class "decimal" (lowercase) rather than
> "Decimal"? The situation seems similar to the set class, which
> undergoes a capitalisation change in 2.4 in a similar manner.

I think it's actually a good thing to have a name change; there are
always going to be incompatibilities, and code must be able to use the
old and the new way together.  If they are named the same that just
confuses matters.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-Dev mailing list