[Zope-Coders] inheritedAttributes py2.1.3 vs py2.2.3

alan runyan runyaga@runyaga.com
Tue, 01 Jul 2003 14:10:39 -0500


> I've been using the following pattern.  It seems more reliable and less 
> ExtensionClass-specific.
>
> class Worker(Acquisition.Implicit, threading.Thread):
> __base_init = threading.Thread.__init__
> def __init__(self):
> self.__base_init()

I prefer this approach (saw it from Dieter's email in
the list) as well.  But in Python 2.1.3 and Zope2.6.1
I was getting the same problem (instance must be first
arguement).  We are moving the application over to
2.2.3 and latest Zope.


-- 
alan runyan

~runyaga@
Clearnoodle Studio
http://www.clearnoodle.com/