Message380175
Actually you can't really change typing.Callable's __args__, because it must be hashable, and lists aren't.
If GenericAlias doesn't cache yet, it might very well do so in the future to gain some speed when e.g. list[int] is used at runtime outside annotations, e.g. in cast(), so it will be important there too. |
|
Date |
User |
Action |
Args |
2020-11-02 04:41:31 | gvanrossum | set | recipients:
+ gvanrossum, serhiy.storchaka, levkivskyi, corona10, Zac Hatfield-Dodds, BTaskaya, kj |
2020-11-02 04:41:31 | gvanrossum | set | messageid: <1604292091.27.0.15474144934.issue42195@roundup.psfhosted.org> |
2020-11-02 04:41:31 | gvanrossum | link | issue42195 messages |
2020-11-02 04:41:31 | gvanrossum | create | |
|