Typos in the Py_DEBUG macro name #122270
Labels
3.12
only security fixes
3.13
bugs and security fixes
3.14
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-parser
type-bug
An unexpected behavior, bug, or error
Uh oh!
There was an error while loading. Please reload this page.
Bug report
Parser/pegen.c
andTools/peg_generator/peg_extension/peg_extension.c
contain checks for wrong macro:They always false, because the correct name is
Py_DEBUG
, notPY_DEBUG
. Therefore, the code which was supposed to run in the debug build, is never compiled code.cc @pablogsal
Linked PRs
The text was updated successfully, but these errors were encountered: