Message367969
This is actually a problem that is existing for a long time. A recent example would be the discussion in the GH-19868.
Implementation
- It should check existence of all fields (like ast.Constant() wont verified)
- It should check types of all fields against their declarations in ASDL (this is actually depending on GH-19031) (like ast.List({ast.Constant(1)}, ctx=ast.Load()) wont pass, or the example in GH-19868)
After bpo-39981 resolved, I'll submit a patch. |
|
Date |
User |
Action |
Args |
2020-05-03 12:15:02 | BTaskaya | set | recipients:
+ BTaskaya, serhiy.storchaka, pablogsal |
2020-05-03 12:15:02 | BTaskaya | set | messageid: <1588508102.78.0.391997005148.issue40483@roundup.psfhosted.org> |
2020-05-03 12:15:02 | BTaskaya | link | issue40483 messages |
2020-05-03 12:15:02 | BTaskaya | create | |
|