Staging
v0.8.1
https://github.com/python/cpython
Revision 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd authored by Lysandros Nikolaou on 27 June 2020, 23:41:48 UTC, committed by GitHub on 27 June 2020, 23:41:48 UTC
This commit changes the parsing of f-string expressions with the new parser. The parser gets pre-fed with the location of the expression itself (not the f-string, which was what we were doing before). This allows us to completely skip the shifting of the AST nodes after the parsing is completed.
1 parent 89e82c4
History
Tip revision: 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd authored by Lysandros Nikolaou on 27 June 2020, 23:41:48 UTC
bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054)
Tip revision: 1f0f4ab
File Mode Size
windows-release
ci.yml -rw-r--r-- 3.3 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 768 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.6 KB
pr.yml -rw-r--r-- 3.2 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top