Normal metaclass resolution not applied to InterfaceClass
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zope.interface |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
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 branch at svn+ssh:
The motivating factor here is: I need an Interface with a hook that gets called after InterfaceClass.
* Checking that field names supplied as tagged values from directives correspond to actual field names to detect typos.
* Registering the Interface instance for further configuration to be executed by a zope.configuration action.
Relevant changeset: http://
Example InterfaceClass subclass: http://
Please follow up on Github:
https:/ /github. com/zopefoundat ion/zope. interface/ issues/ 16