DTStack / DTStack/dt-python-parser

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

オープン
#28 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
25
フォーク
7
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。