dt-python-parser icon indicating copy to clipboard operation
dt-python-parser copied to clipboard

:= operator is valid in Python 3.13.0 but fails parsing with DT Python Parser

Open joshi1983 opened this issue 5 months ago • 0 comments

Try parsing the following Python code: x = 1 print(x := 3)

You will get a tree full of error nodes. NoViableAltException appears to be thrown but caught and passed back.

That code is valid, though. I ran that in Python 3.13.0 as screenshotted here to demonstrate the code is valid: Image

joshi1983 avatar Jul 27 '25 00:07 joshi1983