[issue45562] python -d creates lots of tokenizer messages

Marc-Andre Lemburg report at bugs.python.org
Fri Oct 22 05:45:26 EDT 2021


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Yes, I know that (at the moment) it's only documented to work in the parser, but since Py_DebugFlag is a general purpose flag, this use could easily be extended to other parts of the interpreter as well, e.g. for parsing the command line or instrumenting the interpreter to collect debug stats.

In any case, thanks for the quick fix, Pablo.

----------

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


More information about the Python-bugs-list mailing list