[Zope] New-style classes and PluggableBrains

Michael Ekstrand michael-zope at elehack.net
Fri Jul 23 10:41:32 EDT 2004


I'm working on developing a PluggableBrains class for some SQL methods 
in my application in Zope 2.7.1 (running Python 2.3.3 as shipped in the 
Windows Zope installer), and I've got a couple quick questions.

First, if my class inherits from object, does that break anything? It's 
also inheriting from Acquisition.Implicit and has security information 
(as an external method creates one and passes it off to protected code 
in a place or two).

Second, if I have some property objects as members, will code accessing 
them elsewhere behave in a sane and reasonable manner? Will Zope 
recognize them properly? Most importantly, can I have some or all of 
the members that the Z SQL Method will be populating defined as 
properties in the class?

TIA,
Michael


More information about the Zope mailing list