DTStack / DTStack/dt-python-parser

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

Aberta
#28 0 comentários 0 reações 0 responsáveis Ver no GitHub
Linguagem predominante
JavaScript
Estrelas
25
Forks
7
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

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

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.