Victor Milovanov <lostfree...@gmail.com> added the comment:
To put it differently, if you think in terms of MRO, my custom type's MRO is my_type_clear (from my type), subtype_clear (from PyTypeObject), etc And subtype_clear incorrectly assumes that it is the first entry in the object's MRO list for tp_clear. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45266> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com