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 gvanrossum
Recipients AlexWaygood, gvanrossum, joperez, kj, martinitus, serhiy.storchaka
Date 2022-01-04.18:09:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641319783.98.0.608833468735.issue45665@roundup.psfhosted.org>
In-reply-to
Content
Okay, so it is probably here to stay. We could justify it (after the fact :-) by saying that you can instantiate list[int], but not Any.

Are there exceptions to that? (I.e. are there other annotation types that have isinstance(X, type) return False but can be instantiated, or the other way around?)
History
Date User Action Args
2022-01-04 18:09:44gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, joperez, kj, AlexWaygood, martinitus
2022-01-04 18:09:43gvanrossumsetmessageid: <1641319783.98.0.608833468735.issue45665@roundup.psfhosted.org>
2022-01-04 18:09:43gvanrossumlinkissue45665 messages
2022-01-04 18:09:43gvanrossumcreate