You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is something that would be useful for me as well since I also sometimes poke around the AST 😄
Were you planning to implement this yourself or do you think I could give it a try? Looking at the code, it'll probably have to be implemented in C since that's where the base AST type is defined.
I will do it eventually if no one else gets to it but haven't started yet. You're welcome to start working on it! This might need changes to asdl_c.py which is the Python code that generates the C code for the AST.
Activity
tomasr8 commentedon Mar 10, 2024
This is something that would be useful for me as well since I also sometimes poke around the AST 😄
Were you planning to implement this yourself or do you think I could give it a try? Looking at the code, it'll probably have to be implemented in C since that's where the base AST type is defined.
JelleZijlstra commentedon Mar 10, 2024
I will do it eventually if no one else gets to it but haven't started yet. You're welcome to start working on it! This might need changes to
asdl_c.pywhich is the Python code that generates the C code for the AST.gh-116022: Improve `repr()` of AST nodes (#117046)
pythongh-116022: Improve `repr()` of AST nodes (python#117046)