[Python-checkins] [python/cpython] 1b9530: bpo-23894: make lib2to3 recognize f-strings (#1733...
GitHub
noreply at github.com
Mon May 22 19:35:49 EDT 2017
Branch: refs/heads/master
Home: https://github.com/python/cpython
Commit: 1b9530c536664276ce866ae602ce04adce0810e1
https://github.com/python/cpython/commit/1b9530c536664276ce866ae602ce04adce0810e1
Author: Łukasz Langa <lukasz at langa.pl>
Date: 2017-05-22 (Mon, 22 May 2017)
Changed paths:
M Lib/lib2to3/pgen2/tokenize.py
M Lib/lib2to3/tests/test_parser.py
Log Message:
-----------
bpo-23894: make lib2to3 recognize f-strings (#1733)
Note: this doesn't unpack f-strings into the underlying JoinedStr AST.
Ideally we'd fully implement JoinedStr here but given its additional
complexity, I think this is worth bandaiding as is. This unblocks tools like
https://github.com/google/yapf to format 3.6 syntax using f-strings.
More information about the Python-checkins
mailing list