Message382288
I agree with Batuhan.
Although bytecode for class annotations seems inefficient, it is difficult to optimize without breaking backward compatibility.
You can write arbitrary code in class/module block which dynamically manipulate __annotations__.
```
class Foo:
__annotations__["spam"] = "list"
ham: tuple
``` |
|
Date |
User |
Action |
Args |
2020-12-02 01:23:01 | methane | set | recipients:
+ methane, BTaskaya, uriyyo |
2020-12-02 01:23:01 | methane | set | messageid: <1606872181.18.0.0997257046618.issue42525@roundup.psfhosted.org> |
2020-12-02 01:23:01 | methane | link | issue42525 messages |
2020-12-02 01:23:01 | methane | create | |
|