Benji York  <[EMAIL PROTECTED]> wrote:
> Jim Fulton wrote:
> > We don't want to *require* objects to provide ILocation.
> > 
> > I don't know what the right answer is here. I'll think about it. I'd 
> > love some good suggestions.
> Perhaps an ILocation adapter that would keep the __name__ and __parent__ 
> information in a separate place (attribute annotations, or a BTree 
> somewhere).
> So, instead of things getting proxied when they don't provide ILocation, 
> they would instead be adapted.

I was about to propose that too, just do object = IContained(object) and
let adapters do what's needed. That may be too naive, I don't know...


Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   [EMAIL PROTECTED]
Zope3-dev mailing list

Reply via email to