New submission from A. Skrobov:

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.

----------
components: Extension Modules
files: patch
messages: 261486
nosy: A. Skrobov, fdrake
priority: normal
severity: normal
status: open
title: In parsemodule.c, replace over 2KLOC of hand-crafted validation code, 
with a DFA
type: enhancement
versions: Python 3.6
Added file: http://bugs.python.org/file42110/patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26526>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to