[Zope-dev] Patching Zope Products .. next Question

R. David Murray bitz@bitdance.com
Wed, 11 Jul 2001 13:50:58 -0400 (EDT)


On Wed, 11 Jul 2001, Ulrich Eck wrote:
> the CMFDefault.Document for example is still subclassed from 
> CMFCore.PortalContent (the default) and therefore doesn't behave
> like a dataskin ..
> 
> any ideas ?

You can hotpatch the __bases__ attribute of the derived class.

--RDM