Re: [Python-Dev] python and super

2011-04-14 Thread Ricardo Kirkner
> > What would the semantics be of a super that intentially calls all siblings? > In particular what is the return value of such a call? The implementation > can't know how to combine the implementations in the inheritance chain and > should refuse the tempation to guess. I'll give you the exam

Re: [Python-Dev] python and super

2011-04-14 Thread Ricardo Kirkner
Exactly what Michael said. Stopping the chain going upwards is one thing. Stopping it going sideways is another. On Thu, Apr 14, 2011 at 12:37 PM, Michael Foord wrote: > On 14/04/2011 16:34, P.J. Eby wrote: >> >> At 03:55 PM 4/14/2011 +0100, Michael Foord wrote: >>> >>> Ricardo isn't suggesting t

[Python-Dev] python and super

2011-04-14 Thread Ricardo Kirkner
Hi all, I recently stumbled upon an issue with a class in the mro chain not calling super, therefore breaking the chain (ie, further base classes along the chain didn't get called). I understand it is currently a requirement that all classes that are part of the mro chain behave and always call su