[issue44142] ast.unparse: visually better code generation

2021-05-15 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +24790 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26156 ___ Python tracker ___

[issue44142] ast.unparse: visually better code generation

2021-05-15 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : This issue is for tracking possible places where we could generate better code on ast.unparse (better as in more closely to what people are actually writing than our naive implementation). Examples; >>> import ast >>> ast.unparse(ast.parse('a, b, c =