Thomas Lotze wrote at 2008-10-17 19:42 +0200: >"Dieter Maurer" <[EMAIL PROTECTED]> schrieb: >> ... >> 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?
"verifyObject/verifyClass" is likely not to handle the following case correctly: class I(Interface): def m(...): ... class C(object): implements(I) m = property(lambda self: lambda ...: ...) i.e. when a method (declared by the interface) is implemented by a property. -- Dieter _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )