DTStack / DTStack/dt-python-parser

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

Abierto
#28 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
25
Forks
7
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.