Message363641
> It is not so easy for fields like "type_ignores". They are mutable lists, so this approach cannot be applied to them.
What about keeping ASDL signatures in the nodes (). If we know the type of a field (can be parsed in runtime) we can infer the default value of a field. For type_ignores, it is a sequence so if it is empty we can just crop that part. |
|
Date |
User |
Action |
Args |
2020-03-08 08:56:12 | BTaskaya | set | recipients:
+ BTaskaya, brett.cannon, benjamin.peterson, serhiy.storchaka, yselivanov, levkivskyi, eamanu |
2020-03-08 08:56:12 | BTaskaya | set | messageid: <1583657772.82.0.98883305442.issue36287@roundup.psfhosted.org> |
2020-03-08 08:56:12 | BTaskaya | link | issue36287 messages |
2020-03-08 08:56:12 | BTaskaya | create | |
|