prePEP: Decimal data type
aahz at pythoncraft.com
Thu Nov 6 21:37:52 CET 2003
In article <vqlaif4imh9k98 at news.supernews.com>,
John Roth <newsgroups at jhrothjr.com> wrote:
>AFAICS, there are only two solutions:
><decimal>.add(<number>, [<result spec>])
Both are too inconvenient for casual users. I think that for the Money
subclass, it'll probably make sense to require users to specify an
explicit Context before the first operation (raising an exception if not
initialized). For Decimal, using the same defaults as Rexx will
probably work just fine.
Aahz (aahz at pythoncraft.com) <*> http://www.pythoncraft.com/
"It is easier to optimize correct code than to correct optimized code."
More information about the Python-list