[Zope3-Users] classProvides and inheritance
jim at zope.com
Sat Aug 15 17:18:04 EDT 2009
On Sat, Aug 15, 2009 at 5:06 PM, Iain Duncan<iainduncan at telus.net> wrote:
> On Sat, 2009-08-15 at 16:57 -0400, Jim Fulton wrote:
>> On Sat, Aug 15, 2009 at 4:49 PM, Iain Duncan<iainduncan at telus.net> wrote:
> I understood that, I just phrased my question poorly.
> So given the
> clarification, is there a straightforward way for me to make it so,
> will I need to make a metaclass that enforces my desired behaviour?
I don't think a meta class would help you. You would need to
implement an alternative __provides__ descriptor. At that point,
you'd be depending on an internal implementation detail, but you
wouldn't be the first. :/
More information about the Zope3-users