[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] Adding a _frame argument to InterfaceClass.__init__
From: Laurence Rowe <l () lrowe ! co ! uk>
Date: 2011-05-01 16:30:16
Message-ID: BANLkTik4wqFxTrskrivTKBNNt3+9Feih2Q () mail ! gmail ! com
[Download RAW message or body]
On 1 May 2011 01:06, Laurence Rowe <l@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
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
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 )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic