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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-116022: Improve
repr()
of AST nodes #117046gh-116022: Improve
repr()
of AST nodes #117046Changes from 35 commits
7461655
447261b
74759bc
4ffc1fb
6094100
5cde4fc
00133b8
e1b7643
0308982
3f2bf3f
4386a5a
af3b2a3
1aaa1c0
06e4657
df70943
ed89975
d8b3bff
cfd6cdf
f022378
0f916cc
e2b0415
9f405ac
b06c8a4
32a5169
7603910
74c57a6
ddd7e71
132932a
a341c57
d03c3d1
44b3303
0b52a65
0b19d2e
2ed3f99
c94c197
6ca6b5b
df34a04
ab823cc
abd35b0
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Large diffs are not rendered by default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can DECREF name and value earlier so you don't have to repeat this. Looks like
value
is no longer needed after line 1602, so you could DECREF it there.name
could be DECREFed after line 1623.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Indeed, I move those DECREFs up