[New-bugs-announce] [issue40750] Support -d flag in the new parser

Pablo Galindo Salgado report at bugs.python.org
Sat May 23 21:41:37 EDT 2020


New submission from Pablo Galindo Salgado <pablogsal at gmail.com>:

Python has a (mostly unknown) -d flag that can only be used in debug builds that emit some debug output for the old parser. The new parser does not support such flag. This is very useful when playing with the grammar as it helps enormously to inspect how the parser has behaved and what rules have accepted/rejected in its path.

----------
components: Interpreter Core
messages: 369763
nosy: pablogsal
priority: normal
severity: normal
status: open
title: Support -d flag in the new parser
type: behavior
versions: Python 3.10, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40750>
_______________________________________


More information about the New-bugs-announce mailing list