]> granicus.if.org Git - python/commit
bpo-36817: Add f-string debugging using '='. (GH-13123)
authorEric V. Smith <ericvsmith@users.noreply.github.com>
Wed, 8 May 2019 20:28:48 +0000 (16:28 -0400)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 20:28:48 +0000 (16:28 -0400)
commit9a4135e939bc223f592045a38e0f927ba170da32
treede347c6f2df801dc98b36ab5084dada335741517
parent65d98d0f53f558d7c799098da0abf376068c15fd
bpo-36817: Add f-string debugging using '='. (GH-13123)

If a "=" is specified a the end of an f-string expression, the f-string will evaluate to the text of the expression, followed by '=', followed by the repr of the value of the expression.
Doc/whatsnew/3.8.rst
Include/Python-ast.h
Lib/test/test_fstring.py
Lib/test/test_future.py
Misc/NEWS.d/next/Core and Builtins/2019-05-02-11-48-08.bpo-36774.ZqbJ1J.rst [new file with mode: 0644]
Parser/Python.asdl
Python/Python-ast.c
Python/ast.c
Python/ast_unparse.c
Python/ceval.c
Python/compile.c