[Python-Dev] RE: Decimal class

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 27 May 2003 10:45:27 +1200 (NZST)


Kevin Jacobs <jacobs@penguin.theopalgroup.com>:

> Does anyone else have feelings for or against having mutable Decimal
> instances?

Having mutable decimal instances would feel *very* strange
to me, given that all other numeric types in Python are
immutable.

+1 on making them immutable.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+