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 Anthony Sottile, BTaskaya, serhiy.storchaka
Date 2020-04-24.23:50:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1587772250.22.0.563720061307.issue40378@roundup.psfhosted.org>
In-reply-to
Content
> This does seem like a bug and prematurely closed, I'm a bit disappointed in the current resolution

I would love to see it moved as a new step in the execution pipeline that we cane extend easily and use externally (like PyAST_Validate). But I'm not sure if the burden worths the gain. Though, for the current version it would be very simple to implement such checks (3-4) with a simple NodeVisitor. Just an example (should be pretty close to output, not exact): https://github.com/isidentical/astvalidate/blob/master/astvalidate/validators/syntatical.py
History
Date User Action Args
2020-04-24 23:50:50BTaskayasetrecipients: + BTaskaya, serhiy.storchaka, Anthony Sottile
2020-04-24 23:50:50BTaskayasetmessageid: <1587772250.22.0.563720061307.issue40378@roundup.psfhosted.org>
2020-04-24 23:50:50BTaskayalinkissue40378 messages
2020-04-24 23:50:50BTaskayacreate