[issue44896] Issue with unparse in ast module

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +BTaskaya, Mark.Shannon, benjamin.peterson, brett.cannon, pablogsal, yselivanov ___ Python tracker ___

[issue44896] Issue with unparse in ast module

2021-08-11 Thread Kai Xia
New submission from Kai Xia : I was trying to construct an ast object dynamically and I think I can identify some potential issue. With the following snippet: ``` #!/usr/bin/env python3 import ast import sys print(sys.version) good = ast.Assign( targets=[ast.Name(id="hello", ctx=ast.Sto