Re: Pseudo-Private Class Attributes

2007-09-19 Thread Bruno Desthuilliers
Ricardo Aráoz a écrit : That is self.__attributes Been reading about the reasons to introduce them and am a little concerned. As far as I understand it if you have a class that inherits from two other classes which have both the same name for an attribute then you will have a name clash

Pseudo-Private Class Attributes

2007-09-18 Thread Ricardo Aráoz
That is self.__attributes Been reading about the reasons to introduce them and am a little concerned. As far as I understand it if you have a class that inherits from two other classes which have both the same name for an attribute then you will have a name clash because all instance attributes

Re: Pseudo-Private Class Attributes

2007-09-18 Thread Robert Kern
Ricardo Aráoz wrote: That is self.__attributes Been reading about the reasons to introduce them and am a little concerned. As far as I understand it if you have a class that inherits from two other classes which have both the same name for an attribute then you will have a name clash