Re: Metaclass resolution for InterfaceClass

Laurence Rowe <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 1 May 2011 20:28, Laurence Rowe <[email protected]> wrote:
> While experimenting with my InterfaceClass subclass I noticed that it
> was only being used when it was specified as the first of the bases. I
> believe this is because InterfaceClass is not a subclass of ``type``,
> so the normal metaclass derivation logic is not applied. The attached
> patch implements that logic in InterfaceClass.__new__, picking from
> the base metaclasses that metaclass which subclasses all other base
> metaclasses.

I've reported this as
https://bugs.launchpad.net/zope.interface/+bug/791218 so it does not
get lost.

Laurence
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.