[issue40528] Improve / Clear ASDL generator
Pablo Galindo Salgado
report at bugs.python.org
Wed May 6 09:34:22 EDT 2020
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
> For which of them a line number is meaningful and useful?
Apologies, I was thinking of 'identifier', which is basically a PyObject representing a string. For instance, when parsing function calls like
x = ast.parse("f(x=435)")
the 'arg' attribute of the keyword is just the string 'x', without any metadata about it (like column offset and such).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40528>
_______________________________________
More information about the Python-bugs-list
mailing list