[Zope3-Users] classProvides and inheritance
Iain Duncan
iainduncan at telus.net
Sat Aug 15 17:26:08 EDT 2009
On Sat, 2009-08-15 at 17:18 -0400, Jim Fulton wrote:
> 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.
>
> np
>
> > So given the
> > clarification, is there a straightforward way for me to make it so,
>
> No.
>
> > or
> > 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. :/
Thanks, maybe I need to rethink that part then.
iain
More information about the Zope3-users
mailing list