[issue35632] support unparse for Suite ast

2020-03-04 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: I just removed Suite node in GH-18513, so I guess this can be closed. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue35632] support unparse for Suite ast

2019-12-01 Thread Batuhan
Batuhan added the comment: Tools/parser/unparse.py has been moved under ast module and exposed via ast.unparse() interface. If you want to support custom AST statements, the current version is incapable of doing such changes because of the real unparser class is private. As a workaround you

[issue35632] support unparse for Suite ast

2019-01-01 Thread thautwarm
New submission from thautwarm : Although `Suite` is not an actual AST used in CPython, it's quite useful when performing some code analysis. `Suite` is a sequence of statements which could be used to represent a block whose context inherits from outside block's. Also, the document said it's