[Zope] _setBasesHoldOnToYourButts()

Chris McDonough chrism@digicool.com
Sun, 20 Aug 2000 22:48:06 -0400 (EDT)


I dunno about the "hardcore" part, but _setBasesHoldOnToYourButts method
changes the base classes of a ZClass to those of another (existing
ZClass).  I really, really wouldn't use this for anything but playing
around... I've used it a couple of times successfully, but I've also used
it once where things went Really Wrong.

By the description of what you want to do, it *should* work.

There is a how-to (or something) on Zope.org that shows how to use this.

On Sun, 20 Aug 2000, Hung Jung Lu wrote:

> Hi,
> 
> Can any hardcore Zope developer explain to me what this wonderful little 
> method does? Please? Even if it is just pure voodoo.
> 
> (I am looking for any voodoo magic that allows me to change a Z Object's 
> ZClass dynamically. You heard me right: after an instance of Z Object is 
> created, I want to change its ZClass from ZClassA to ZClassB. It's voodoo 
> all right, but heck, voodoo is magic.)
> 
> regards,
> 
> Hung Jung
> 
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> 
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>