diff options
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | 2020-06-27 23:41:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-27 23:41:48 (GMT) |
commit | 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd (patch) | |
tree | f967a28bdffe1656593c04ae0634e7cc6b3bf566 /PC/pyshellext.cpp | |
parent | 89e82c4a6285c89c054980591c078245a5cc6337 (diff) | |
download | cpython-1f0f4abb110b9fbade6175842b6a26ab0b8df6dd.zip cpython-1f0f4abb110b9fbade6175842b6a26ab0b8df6dd.tar.gz cpython-1f0f4abb110b9fbade6175842b6a26ab0b8df6dd.tar.bz2 |
bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054)
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.
Diffstat (limited to 'PC/pyshellext.cpp')
0 files changed, 0 insertions, 0 deletions