On Sat, Jul 02, 2005, Facundo Batista wrote: > On 7/1/05, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >> >> * Time value of money computations are typically dimensionless (not >> sensitive to currency type or formatting) and they often have algorithm >> specific rounding needs (round at the end of compounding period or each >> year or only at the end). > > We think that it'd nice to have TVM functions inside a money module, > so if you want to do some math abouth this you just import the module > and use it. > > It's not so much related to Currency data type, it's just that we > think that this module is the right place to put those functions. > Don't think that these generic functions use in some way the Currency > data type of its Context.
Sounds like a better way to go is a Money package (or perhaps a Financial package) and just create the Currency module within it for now. Anyway, given that this isn't going to be a real PEP any time soon, please restrict the discussion to comp.lang.python. Thanks for your help keeping python-dev clutter-free. ;-) -- Aahz ([EMAIL PROTECTED]) <*> http://www.pythoncraft.com/ f u cn rd ths, u cn gt a gd jb n nx prgrmmng. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com