On Saturday 04 February 2006 01:46, 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 am pretty sure that the Decimal type is not declared a rock in the security 
package and is thus proxied. Bring it up in the zope3-dev mailing list and it 
will be addressed quickly. For now you can just declare it as a rock. See 

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

Reply via email to