A concrete syntax tree parser and serializer library for Python that preserves many aspects of Python's abstract syntax tree
1.57k
stars
192
forks
source link
ParserSyntaxError for "unmatched ']'" faults wrong location #1112
Open
thatch opened 9 months ago
I suspect this is an upstream issue, but documenting the repro so we can know if it gets fixed:
(note too many close brackets at the end of the def line)
faults the first line of the file, when there is clearly one specific byte that can be faulted -- the extra close bracket.