[issue29148] Inheritance behaviour ambiguos

2017-01-04 Thread Berker Peksag
Berker Peksag added the comment: You may find Raymond Hettinger's "super() considered super" article helpful to understand how Python's super() works: https://rhettinger.wordpress.com/2011/05/26/super-considered-super/ -- nosy: +berker.peksag ___

[issue29148] Inheritance behaviour ambiguos

2017-01-03 Thread Xiang Zhang
Xiang Zhang added the comment: It seems you are surprised `super(C, self).foo2()` works but it is actually how super() and class.__mro__ works. :-) So not a bug. You could learn more about it but sorry I don't have any good reference for you. :-( -- nosy: +xiang.zhang resolution: ->

[issue29148] Inheritance behaviour ambiguos

2017-01-03 Thread Yugansh Marwah
New submission from Yugansh Marwah: Inheritance property behaves ambiguously on inheriting multiple inheritance over a class It even calls the function of un-inherited class code is attached below kindly run it and tell me the exact behavior of the same. -- components: Tests files: