[Zope-dev] zope.interface: verifyObject vs properties

Thomas Lotze tl at gocept.com
Fri Oct 17 13:42:02 EDT 2008


"Dieter Maurer" <dieter at handshake.de> schrieb:

> And if the attribute is implemented by a property (of the class, i.e.
> the decriptor is on the metaclass), then the descriptors "__get__"
> is called (in the same way as for "verifyObject").
> Instance properties (descriptor on the class) may not define methods
> (probably a bug).

I don't understand what you're saying in that last sentence; can you
elaborate?

Viele Grüße,
Thomas

-- 
Thomas Lotze · tl at gocept.com
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-dev/attachments/20081017/b8f52664/attachment.bin 


More information about the Zope-Dev mailing list