Chris Withers writes:
 > Martijn Pieters wrote:
 > Now I think I know the answer to this one, but I'll ask just to be sure:
 > 
 > class MyClass(Persistent Acquisition.Explicit):
 > 
 >      def _set_your_attribute (self,value):
 >      self._v_your_attribute = value
 > 
 >      def _get_your_attribute (self):
 >          return self._v_your_attribute
 > 
 >      your_attribute = ComputedAttribute(_get_your_attribute)
 > 
 > ....with this class, your_attribute isn't going to play in Persistence,
 > is it? (so I can update it lots without worrying about ZODB size
 > growing... :-)
But, as I understand it, it is only updated in the thread
that did the update. Your next request may get a different
thread and see a different value.


Dieter

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to