[Pymoney-general] Re: currency-country mappings for experimentation
Brought to you by:
facundobatista
From: Jeff K. <jt...@ya...> - 2005-07-02 04:07:49
|
FWIW, I think that pymoney should consider a system of abstract multiple currencies if the goal is an eventual PEP and inclusion into the python stdlib. Hardcoding even relatively static ISO standards data into python stdlib seems like a backward compatibility headache in the making. It would seem like an add-on library will be necessary for any non-trivial application *using* pymoney currency features, so maybe the data should reside there, keeping the currency-neutral portion of pymoney-proper as small as possible. Perhaps an XML or YAML file format containing ISO and other concrete currency data could be shared among Python, Perl, PHP and Ruby. This shared data would be encoded into python source when pymoney(-addon) releases are made. |