Re: Adding a _frame argument to InterfaceClass.__init__ to make it subclassable

Laurence Rowe <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 1 May 2011 01:06, Laurence Rowe <[email protected]> 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  -  [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.