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 BvB93, JelleZijlstra, farcat, gvanrossum, kj, lars2, lukasz.langa, miss-islington, serhiy.storchaka, uriyyo
Date 2021-08-05.18:53:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628189613.74.0.748630735928.issue44524@roundup.psfhosted.org>
In-reply-to
Content
Thank you Ken Jin.

But it does not explain why objects which currently have __name__/__qualname__ is None should have these attribute. There is no builtin data type that corresponds to ClassVar, Final, Literal, Concatenate or TypeGuard. And (int | str) does not have these attributes. Would not be better to raise AttributeError instead of returning None?
History
Date User Action Args
2021-08-05 18:53:33serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, farcat, lukasz.langa, JelleZijlstra, miss-islington, uriyyo, BvB93, kj, lars2
2021-08-05 18:53:33serhiy.storchakasetmessageid: <1628189613.74.0.748630735928.issue44524@roundup.psfhosted.org>
2021-08-05 18:53:33serhiy.storchakalinkissue44524 messages
2021-08-05 18:53:33serhiy.storchakacreate