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 lukasz.langa
Recipients BvB93, JelleZijlstra, farcat, gvanrossum, kj, lars2, lukasz.langa, miss-islington, serhiy.storchaka, uriyyo
Date 2021-08-06.12:48:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1628254083.53.0.0641782229602.issue44524@roundup.psfhosted.org>
In-reply-to
Content
Serhiy, good question. As builtin generics return the base `__name__` for subscribed version, it makes sense to do the same for the versions in `typing`, especially if their unsubscribed versions provide `__name__`.

As to "why even have `__name__` in the first place?", it's for introspection purposes.
History
Date User Action Args
2021-08-06 12:48:03lukasz.langasetrecipients: + lukasz.langa, gvanrossum, farcat, serhiy.storchaka, JelleZijlstra, miss-islington, uriyyo, BvB93, kj, lars2
2021-08-06 12:48:03lukasz.langasetmessageid: <1628254083.53.0.0641782229602.issue44524@roundup.psfhosted.org>
2021-08-06 12:48:03lukasz.langalinkissue44524 messages
2021-08-06 12:48:03lukasz.langacreate