]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Validate the AST produced by the parser in debug mode (GH-21643)
authorPablo Galindo <Pablogsal@gmail.com>
Mon, 27 Jul 2020 22:46:59 +0000 (23:46 +0100)
committerGitHub <noreply@github.com>
Mon, 27 Jul 2020 22:46:59 +0000 (23:46 +0100)
commit1332226b32da44087a55e1d71990ee6899dfd28a
tree453cad89942fcd54a4ef497a56cd55a7e1b66f8b
parent13efaec2e03288d7ff0ee643589c32bde6c6973c
Validate the AST produced by the parser in debug mode (GH-21643)

This will improve the debug experience if something fails in the produced AST. Previously, errors in the produced AST can be felt much later like in the garbage collector or the compiler, making debugging them much more difficult.
Parser/pegen.c