Staging
v0.5.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
problem-matchers
workflows
CODEOWNERS -rw-r--r-- 3.8 KB
CONTRIBUTING.rst -rw-r--r-- 2.4 KB
FUNDING.yml -rw-r--r-- 57 bytes
PULL_REQUEST_TEMPLATE.md -rw-r--r-- 700 bytes
SECURITY.md -rw-r--r-- 530 bytes
codecov.yml -rw-r--r-- 485 bytes

back to top