Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
I think that __mro_entries__() for annotated types should return the result of __mro_entries__() for the original type if it has __mro_entries__. But details can be complicated, especially if user-defined generic types are involved. Alternatively, __build_class__ can call __mro_entries__() repeatedly for the result of __mro_entries__(). I do not know what is better. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44969> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com