Re: [Zope3-dev] ILocation vs IContained

2005-07-10 Thread Jim Fulton
Florent Guillaume wrote: I'm having a hard time grasping the reasons why we have both ILocation and IContained. Overdesign on my part. class IContained(ILocation): Objects contained in containers. But ILocation provides a __parent__ already, which seems to imply that it's contained

RE: [Zope3-dev] ILocation vs IContained

2005-07-10 Thread Roger Ineichen
Hi Jim Behalf Of Jim Fulton Sent: Sunday, July 10, 2005 2:23 PM To: Florent Guillaume Cc: zope3-dev@zope.org Subject: Re: [Zope3-dev] ILocation vs IContained Florent Guillaume wrote: I'm having a hard time grasping the reasons why we have both ILocation and IContained

Re: [Zope3-dev] ILocation vs IContained

2005-07-09 Thread Fred Drake
On 7/9/05, Roger Ineichen [EMAIL PROTECTED] wrote: Contained is the mixin class for the __parent__ and __name__ attributes or not? And we used it as this. Otherwise you have to implement __parent__ and __name__ in your own classes again and again. See the commet in the class: Stupid