prePEP: Decimal data type

Batista, Facundo FBatista at uniFON.com.ar
Tue Nov 4 12:47:54 EST 2003


Alex Martelli wrote:

#- So you are proposing that, in this *ONE PLACE* out of ALL the huge
#- variety in the Python language,
#- 
#- x = 1.1
#- ...
#- y = decimal(x)
#- 
#- give a DIFFERENT result than
#- 
#- y = decimal(1.1)
#- 
#- ???  This is just _not in the cards_.  Python's regularity, 
#- uniformity,
#- and simplicity, are FAR more important than any one "special 
#- case" can
#- possibly be.  Or, as the Zen of Python puts it, "special cases aren't
#- special enough to break the rules".

I refuse to make something like this. Here I agree with Alex.

.	Facundo





More information about the Python-list mailing list