Ken Jin <kenjin4...@gmail.com> added the comment:
Hi @mamliteria, this is the bug tracker for CPython. I understand that you have suggestions to improve super(), but feature suggestions usually go on the python-ideas mailing list [1]. So you might want to post on there instead. If you're interested, the MRO creation algorithm uses C3 linearization[2] so the output is predictable. Also maybe the 2-argument form of super() will help. It should cover most cases that you propose with __as_parent__. [1] https://mail.python.org/mailman3/lists/python-ideas.python.org/ [2] https://en.wikipedia.org/wiki/C3_linearization ---------- nosy: +kj resolution: -> not a bug stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue47130> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com