[Python-Dev] Decimal.py in sandbox

Batista, Facundo FBatista at uniFON.com.ar
Mon Oct 27 11:10:47 EST 2003


To my (nice) surprise, all the testCases of Decimal.py ran OK. 

These tests were all about the specification (the ugly side, :) and not
about
using the class. For instance, you can do::

    x = Decimal(3) / 5
    
and it get done allright (according to the tests cases of Mike Cowlishaw).
But you can´t do::

    x = 5 / Decimal(3)

So, here is a temptative list of ToDo for myself:

    1. Clean up unused code, reorder methods (all publics together, etc).
    2. Put some repeated code inside functions.
    3. Write a pre-PEP.
    4. Write testCases for the functionality specified by the pre-PEP.
    5. Write the code to comply the testCases.
    6. Write the PEP.
    7. Submit everything.

Some questions:

    - Is there some of this work (specially the third item) already done or
      started?
    - Should I submit partial work or everything as a whole?
    - Modifications to the sandbox modules, are considered patches? Should I
      send them through SourceForge interface?

As always, suggestions and similars are welcomed (and very appreciated).

Thank you.


Facundo Batista
Gestión de Red
fbatista at unifon.com.ar
(54 11) 5130-4643
Cel: 15 5132 0132







. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
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/20031027/ecb74e42/attachment.html


More information about the Python-Dev mailing list