Mpaa added a comment.

Not sure this is a bug or a must, it is more about how you want the classes to cooperate with each other.
MRO chain is not broken in the first example, the design is such that the chain of calls does not propagate all the way up (it might also be a design choice, see e.g. https://rhettinger.wordpress.com/2011/05/26/super-considered-super/#comment-86).

>>> baz.mro()                                                                                                             
[__main__.baz, __main__.foo, __main__.bar, object]

TASK DETAIL
https://phabricator.wikimedia.org/T212741

EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Mpaa
Cc: Mpaa, Jayprakash12345, Framawiki, Aklapper, pywikibot-bugs-list, Xqt, Wenyi, Mahveotm, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Dalba, Masti, Alchimista, Rxy
_______________________________________________
pywikibot-bugs mailing list
pywikibot-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to