[Zope3-dev] Sum of Decimals

Stephan Richter srichter at cosmos.phy.tufts.edu
Wed Feb 8 11:08:57 EST 2006

On Wednesday 08 February 2006 13:43, Garanin Michael wrote:
> My content object A has attributes 'cost' & 'tax' - Decimal (from
> decimal). I try: A.cost + A.tax ---> security error '+' method for
> Decimal-class. I solve problem by 'zope.proxy.removeAllProxies' , but i
> think it's bad. What other ways are exist?
> i get Zope3 from trunk and not find 'decimal'-package in
> 'zope/app/globalmodules.zcml'. Why?

Decimal is a new type and we have not yet declared it to be a rock. This can 
be done in your custom code and also add an issue, because we need to do that 
for the next release.

Stephan Richter
CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student)
Web2k - Web Software Design, Development and Training

More information about the Zope3-dev mailing list