Skip to content

Python: Add toString method to StrConst #9854

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

Closed
wants to merge 1 commit into from

Conversation

fcasal
Copy link

@fcasal fcasal commented Jul 19, 2022

Override StrConst's toString to show the correct type on the AST viewer. Currently, the AST shows the type "Str", which does not exist.

Fixes #9833.

@fcasal fcasal requested a review from a team as a code owner July 19, 2022 13:18
@fcasal
Copy link
Author

fcasal commented Jul 27, 2022

@tausbn could you add the no change note required tag so that the tests run?

@tausbn
Copy link
Contributor

tausbn commented Aug 22, 2022

Thank you for your submission. After discussing this in the Python team, in the end, we went for a slightly less invasive solution to this issue: #9852.

@tausbn tausbn closed this Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Python AST] AST Viewer shows [Str] but no such type exists
2 participants