[Zope-dev] Extending a class' __bases__ at runtime

Adrian Hungate adrian@haqa.co.uk
Tue, 28 Aug 2001 23:06:40 +0100


I think I must have missed the begining of this one, what is it you are
failing to achive? I have a hotpatch product that does what I think you
are talking about, so I guess we are not talking about the same thing.

Adrian...

-----Original Message-----
From: Morten W. Petersen [mailto:morten@thingamy.net]
Sent: 28 August 2001 22:53
To: R. David Murray
Cc: Chris Withers; zope-dev@zope.org
Subject: Re: [Zope-dev] Extending a class' __bases__ at runtime


On Tue, 28 Aug 2001, R. David Murray wrote:

> There's another reason to want to know the answer to this: the ability
> to hotpatch the base classes of an existing zope class instead of
> having to modify the source code for that class.  This came up
> for the person who was trying to create a version of the CMF that
> used ZPatterns...and I don't recall hearing a solution.
> 
> Plus, it sure is a "surprise" that something that works in normal
> python code doesn't work in Zope!  I presume this is an ExtensionClass
> issue, but I don't know enough to suss it out.

I'd offer $50 of merchandise at <put your favourite online store here>
to
anyone who fixes this issue.

Cheers,

Morten


_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )