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, kj, martinitus, serhiy.storchaka
Date 2021-12-25.04:55:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1640408158.94.0.796543521708.issue45665@roundup.psfhosted.org>
In-reply-to
Content
See https://github.com/python/mypy/issues/9773#issuecomment-1000975000. I may have talked myself into agreeing with Serhiy there! It does seem inconsistent that Any is not considered a type but list[int] is:

>>> isinstance(list[int], type)
True
>>> import typing
>>> isinstance(typing.Any, type)
History
Date User Action Args
2021-12-25 04:55:59gvanrossumsetrecipients: + gvanrossum, serhiy.storchaka, kj, AlexWaygood, martinitus
2021-12-25 04:55:58gvanrossumsetmessageid: <1640408158.94.0.796543521708.issue45665@roundup.psfhosted.org>
2021-12-25 04:55:58gvanrossumlinkissue45665 messages
2021-12-25 04:55:58gvanrossumcreate