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. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com