David H wrote at 2005-8-6 13:12 -0700: >I've been using "pluggable brains" in some zSQL classes. I have some >questions! > >a) It seems if I initialize a variable in the __init__ method that >variable, say self.callCount = 1 is not retained across calls, eg
For efficiency reasons, the result row objects of Z SQL methods do not have a dict. Therefore, you cannot create new attributes for them. Your brain classes derive from such objects and therefore, too, lack a dict. -- Dieter _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )