[Python-Dev] prePEP: Money data type

Batista, Facundo FBatista at uniFON.com.ar
Fri Oct 24 10:42:00 EDT 2003


Nick Coghlan wrote:

#- > I'm urged to have a Money data type, but I'll see if I can 
#- get it through
#- > Decimal, improving/fixing/extedign Decimal and saving 
#- effort at the same
#- > time.
#- 
#- And there is always the "class Money(Decimal):" option, as well.

Sure, I think that's the way to do it.

But first I need to know what problems have Decimal (if it isn't in the
standard library, it's sure it needs work).

Anyway, I'm burning my mind with the IBM specification of Decimal Arithmetic
and studying the class itself. Then I'll work out the test cases, see what
must be done, *do it* (if I can), and theeeeeeeeeeen start thinking again
about Money.

.	Facundo





. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
ADVERTENCIA  

La información contenida en este mensaje y cualquier archivo anexo al mismo,
son para uso exclusivo del destinatario y pueden contener información
confidencial o propietaria, cuya divulgación es sancionada por la ley. 

Si Ud. No es uno de los destinatarios consignados o la persona responsable
de hacer llegar este mensaje a los destinatarios consignados, no está
autorizado a divulgar, copiar, distribuir o retener información (o parte de
ella) contenida en este mensaje. Por favor notifíquenos respondiendo al
remitente, borre el mensaje original y borre las copias (impresas o grabadas
en cualquier medio magnético) que pueda haber realizado del mismo. 

Todas las opiniones contenidas en este mail son propias del autor del
mensaje y no necesariamente coinciden con las de Telefónica Comunicaciones
Personales S.A. o alguna empresa asociada. 

Los mensajes electrónicos pueden ser alterados, motivo por el cual
Telefónica Comunicaciones Personales S.A. no aceptará ninguna obligación
cualquiera sea el resultante de este mensaje. 

Muchas Gracias.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20031024/ac5c896d/attachment.html


More information about the Python-Dev mailing list