[Zope3-dev] ILocation vs IContained

Florent Guillaume fg at nuxeo.com
Fri Jul 8 13:50:59 EDT 2005


I'm having a hard time grasping the reasons why we have both  
ILocation and IContained.

class IContained(ILocation):
     """Objects contained in containers."""

But ILocation provides a __parent__ already, which seems to imply  
that it's contained in it. No?

What use case makes us differentiate between the two?

Florent

-- 
Florent Guillaume, Nuxeo (Paris, France)   CTO, Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   fg at nuxeo.com




More information about the Zope3-dev mailing list