[Zope-dev] New-style ExtensionClass, ZODB 3.3, and Zope 2.8 status

Dieter Maurer dieter at handshake.de
Sat Nov 22 13:06:39 EST 2003


Jim Fulton wrote at 2003-11-22 12:14 -0500:
 > ...
 > Also note that I had to get rid of the validateValue call.  It's important
 > that we always pass the name and container to code that needs to get roles.

We need "name" and "container" only for objects that do not have
their own "__roles__" attribute. This essientially means
for the newly implemented methods. But, for bound methods, we
can determine name and container from the objects.
I would therefore keep "validateValue" and try to determine container and name.

-- 
Dieter



More information about the Zope-Dev mailing list