Message391545
The same thing happens at the module level. However in functions all is well (because inside functions annotations are never evaluated, apparently).
It may be as simple as the code forgetting to check the PEP 563 bit when generating code for complex annotations in classes and at the top (module) level. |
|
Date |
User |
Action |
Args |
2021-04-21 21:26:48 | gvanrossum | set | recipients:
+ gvanrossum, serhiy.storchaka, lys.nikolaou, pablogsal, BTaskaya, gousaiyang |
2021-04-21 21:26:48 | gvanrossum | set | messageid: <1619040408.81.0.53638323033.issue42737@roundup.psfhosted.org> |
2021-04-21 21:26:48 | gvanrossum | link | issue42737 messages |
2021-04-21 21:26:48 | gvanrossum | create | |
|