Message309920
There are several corner cases. For example consider this code:
>>> class C:
... del __annotations__
... x: int
Currently this correctly raises NameError, with your replacement it will instead stick {'x': int} in the module `__annotations__`. I think there may be other special cases but I don't remember them now. |
|
Date |
User |
Action |
Args |
2018-01-14 12:32:44 | levkivskyi | set | recipients:
+ levkivskyi, gvanrossum, Mark.Shannon, serhiy.storchaka, yselivanov |
2018-01-14 12:32:44 | levkivskyi | set | messageid: <1515933164.84.0.467229070634.issue32550@psf.upfronthosting.co.za> |
2018-01-14 12:32:44 | levkivskyi | link | issue32550 messages |
2018-01-14 12:32:44 | levkivskyi | create | |
|