Message310354
There is very little code that depends on __annotations__ at all, and none
of it is very subtle. All actual type checking is done by separate tools
(mypy, pytype, PyCharm) that don't import the code and don't care about
__annotations__. The __annotations__ variable exists so that other people
*may* do useful stuff with it, e.g. design run-time type-checking
decorators. So please don't worry about interning. |
|
Date |
User |
Action |
Args |
2018-01-20 15:54:30 | gvanrossum | set | recipients:
+ gvanrossum, rhettinger, Mark.Shannon, serhiy.storchaka, yselivanov, levkivskyi |
2018-01-20 15:54:30 | gvanrossum | link | issue32550 messages |
2018-01-20 15:54:30 | gvanrossum | create | |
|