This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author BTaskaya
Recipients BTaskaya, pablogsal, serhiy.storchaka
Date 2020-05-03.12:15:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588508102.78.0.391997005148.issue40483@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2020-05-03 12:15:02BTaskayasetrecipients: + BTaskaya, serhiy.storchaka, pablogsal
2020-05-03 12:15:02BTaskayasetmessageid: <1588508102.78.0.391997005148.issue40483@roundup.psfhosted.org>
2020-05-03 12:15:02BTaskayalinkissue40483 messages
2020-05-03 12:15:02BTaskayacreate