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 AlexWaygood
Recipients AlexWaygood, gvanrossum, joperez, kj, martinitus, serhiy.storchaka
Date 2022-01-04.19:45:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1641325514.91.0.795382610617.issue45665@roundup.psfhosted.org>
In-reply-to
Content
Yes, there are a few exceptions to that :(

```
>>> from typing import Annotated
>>> x = Annotated[int, "idk some int"]
>>> x()
0
>>> isinstance(x, type)
False
>>>
>>> from re import Pattern
>>> y = Pattern[str]
>>> y()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: cannot create 're.Pattern' instances
>>> isinstance(y, type)
True
```
History
Date User Action Args
2022-01-04 19:45:14AlexWaygoodsetrecipients: + AlexWaygood, gvanrossum, serhiy.storchaka, joperez, kj, martinitus
2022-01-04 19:45:14AlexWaygoodsetmessageid: <1641325514.91.0.795382610617.issue45665@roundup.psfhosted.org>
2022-01-04 19:45:14AlexWaygoodlinkissue45665 messages
2022-01-04 19:45:14AlexWaygoodcreate