[New-bugs-announce] [issue40502] PyNode_New() does not initialize n->n_col_offset
Tomasz Pytel
report at bugs.python.org
Mon May 4 14:26:58 EDT 2020
New submission from Tomasz Pytel <tompytel at gmail.com>:
I found this by accident by compiling empty strings since I use column information from the AST tree, if not initialized I get a starting column of -842150451. The easy fix is to initialize n->n_col_offset = 0; in Parser/node.c:PyNode_New().
----------
components: Interpreter Core
messages: 368074
nosy: Tomasz Pytel
priority: normal
severity: normal
status: open
title: PyNode_New() does not initialize n->n_col_offset
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40502>
_______________________________________
More information about the New-bugs-announce
mailing list