I'd like to apply the attached patch to zope.interface trunk to make
it more easily subclassable without having to copy and paste a chunk
of its __init__ into the subclass' __init__.

Motivating factor is: I need an Interface with a hook that gets called
after InterfaceClass.__init__ to allow for:

* 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.

(Subclass is 


Attachment: InterfaceClass-frame.diff
Description: Binary data

Zope-Dev maillist  -  Zope-Dev@zope.org
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to