[Zope-dev] Adding a _frame argument to InterfaceClass.__init__ to make it subclassable

Laurence Rowe l at lrowe.co.uk
Sun May 1 12:30:16 EDT 2011


On 1 May 2011 01:06, Laurence Rowe <l at lrowe.co.uk> wrote:
> Hi,
>
> 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__.

On closer inspection, this doesn't seem to be necessary. With python
2.6 when creating a class __module__ is inserted as an attribute.

Laurence


More information about the Zope-Dev mailing list