This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients gvanrossum, kj, serhiy.storchaka
Date 2021-08-21.07:47:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629532045.3.0.870224415864.issue44969@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-08-21 07:47:25serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, kj
2021-08-21 07:47:25serhiy.storchakasetmessageid: <1629532045.3.0.870224415864.issue44969@roundup.psfhosted.org>
2021-08-21 07:47:25serhiy.storchakalinkissue44969 messages
2021-08-21 07:47:25serhiy.storchakacreate