Repository navigation
Conversation
Contributor
|
I reviewed this PR and didn't find it worthwhile to integrate it in our |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
table[*'ab']currently produces anERRORnode, andfor table[*'id'] in rows: passloses itsfor_statement. CPython unpacks the string into the tuple used as the subscript key.Parse a starred string or implicitly concatenated string as a
list_splatin thesubscriptfield. The corpus covers lookup, a mixed slice, a loop target, and syntax errors for double stars and a bare assignment expression. The parser was regenerated with the repository’s pinned tree-sitter CLI 0.25.9.All 120 corpus cases and the highlight and tag tests pass. I checked dictionary reads, writes, deletion and loop assignment with CPython 3.12 and 3.14, and incremental edits with the reported Python runtime binding, tree-sitter 0.25.2.
Refs #355 for the string-literal cases.
OpenAI Codex generated the patch and ran the local checks.