Message409697
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?) |
|
Date |
User |
Action |
Args |
2022-01-04 18:09:44 | gvanrossum | set | recipients:
+ gvanrossum, serhiy.storchaka, joperez, kj, AlexWaygood, martinitus |
2022-01-04 18:09:43 | gvanrossum | set | messageid: <1641319783.98.0.608833468735.issue45665@roundup.psfhosted.org> |
2022-01-04 18:09:43 | gvanrossum | link | issue45665 messages |
2022-01-04 18:09:43 | gvanrossum | create | |
|