Re: Overriding methods inherited from a superclass with methods from a mixin

2016-06-13 Thread alanqueiros
On Monday, June 13, 2016 at 7:29:05 PM UTC-3, Gregory Ewing wrote: > > I see that in most cases the order doesn't matter, but still I would > > think that since the correct order is from right to left, that should be the > > common practice. > > This order is only "correct" if overriding is what y

Re: Overriding methods inherited from a superclass with methods from a mixin

2016-06-13 Thread alanqueiros
Thank you for your replies. I don't know if I'm quoting you correctly, I'm quite confused with Google Groups... not sure if it's a "forum", something like a mailing list, or both... or neither. > The class' MRO ("Method Resolution Order") determines in which > order attributes are looked up. > E

Overriding methods inherited from a superclass with methods from a mixin

2016-06-12 Thread alanqueiros
Hello there. I'm trying to override methods inherited from a superclass by methods defined in a mixin class. Here's an sscce: https://bpaste.net/show/6c7d8d590658 (never expires) I've had problems finding the proper way to do that, since at first the base class wasn't to the right and I've assu