[Zope] Pluggable Brains
    Dieter Maurer 
    dieter at handshake.de
       
    Sun Aug  7 16:54:12 EDT 2005
    
    
  
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
    
    
More information about the Zope
mailing list