Closed isidentical closed 5 years ago
Astor doesn't supports bpo-36817 (f-string debugging syntax)
>>> ast.dump(ast.parse("f'{x=}'")) "Module(body=[Expr(value=JoinedStr(values=[FormattedValue(value=Name(id='x', ctx=Load()), conversion=114, format_spec=None, expr_text='x=')]))], type_ignores=[])" >>> astor.to_source(ast.parse("f'{x=}'")) 'f"""{x!r}"""\n'
Astor doesn't supports bpo-36817 (f-string debugging syntax)