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 A. Skrobov
Recipients A. Skrobov, fdrake
Date 2016-03-10.09:02:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457600551.84.0.318395917649.issue26526@psf.upfronthosting.co.za>
In-reply-to
Content
Updating Modules/parsermodule.c for every change in grammar and/or parser is a maintenance burden, listed as such at https://docs.python.org/devguide/grammar.html

The attached patch lets the validation code use the auto-generated DFA structures, thus ensuring it stays up to date with the grammar. It also trims the code by over 2KLOC.
History
Date User Action Args
2016-03-10 09:02:32A. Skrobovsetrecipients: + A. Skrobov, fdrake
2016-03-10 09:02:31A. Skrobovsetmessageid: <1457600551.84.0.318395917649.issue26526@psf.upfronthosting.co.za>
2016-03-10 09:02:31A. Skrobovlinkissue26526 messages
2016-03-10 09:02:31A. Skrobovcreate