People:
News from the first day of the sprint.
* We'll have two structures to keep the ISO currency information, the
first one will be:
{..., CurrCode : (CurrName, CurrNumber), ... }
from ISO 4217, and the second will be:
[..., (CountryCode, CountryName, CurrCode), ....]
from ISO 4217 and ISO 3166. John Pinner is actually building these two
structures (lot of work!), to be sure that this is OK.
* The curr_type default will be None, and it will not be mandatory to
configure it before start using the module.
* I created in CVS the test_money.py file, for the test cases, and
filled with a loooot of test cases.
* Put a create_currency() method in the context. The idea is to be
able to create a currency object directly from the context (using the
settings of that context and not the in-current-thread one).
* We defined the arithmetic operations in which it'll be allowed to
use Currency.
For more references, see the updated PEP (please do the update, don't
see it in the web because it take time to refresh).
Thanks!
. Facundo
Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
|