Staging
v0.5.1
https://github.com/python/cpython
Revision 3763cc1dbdb930f67b443ceed7c44e4feb883b42 authored by Miss Islington (bot) on 20 November 2020, 21:46:49 UTC, committed by GitHub on 20 November 2020, 21:46:49 UTC
By attempting to avoid backslashes in f-string expressions.
We also now proactively raise errors for some backslashes we can't
avoid while unparsing FormattedValues

Co-authored-by: hauntsaninja <>
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
(cherry picked from commit a993e901ebe60c38d46ecb31f771d0b4a206828c)

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>

Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
1 parent f552f4b
History
Tip revision: 3763cc1dbdb930f67b443ceed7c44e4feb883b42 authored by Miss Islington (bot) on 20 November 2020, 21:46:49 UTC
bpo-28002: Roundtrip f-strings with ast.unparse better (GH-19612) (GH-23430)
Tip revision: 3763cc1
File Mode Size
Grammar -rw-r--r-- 9.6 KB
Tokens -rw-r--r-- 1.5 KB
python.gram -rw-r--r-- 31.4 KB

back to top