Ed Leafe wrote:
> On Mar 6, 2006, at 8:08 PM, Kent Johnson wrote:
>> One workaround might be to use delegation instead of subclassing...
> 
>     Yeah, but that would involve a lot more work at this point. The  
> mixin approach has been working quite well up until this problem.

Automatic delegation is pretty simple, just define __getattr__() and 
__setattr__() to delegate to the wrapped class. For example
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52295

Kent
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to