]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead...
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Mon, 27 May 2019 19:31:52 +0000 (15:31 -0400)
committerGitHub <noreply@github.com>
Mon, 27 May 2019 19:31:52 +0000 (15:31 -0400)
commit6f6ff8a56518a80da406aad6ac8364c046cc7f18
tree645d87649541f53b0ea4180a5f886c84320453fa
parent695b1dd8cbf3a48fdb30ab96918a49b20b7ec3e7
bpo-37050: Remove expr_text from FormattedValue ast node, use Constant node instead (GH-13597)

When using the "=" debug functionality of f-strings, use another Constant node (or a merged constant node) instead of adding expr_text to the FormattedValue node.
Include/Python-ast.h
Lib/test/test_fstring.py
Lib/test/test_future.py
Misc/NEWS.d/next/Core and Builtins/2019-05-27-14-46-24.bpo-37050.7MyZGg.rst [new file with mode: 0644]
Parser/Python.asdl
Python/Python-ast.c
Python/ast.c
Python/ast_unparse.c
Python/compile.c