commit | 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd | [log] [tgz] |
---|---|---|
author | Lysandros Nikolaou <lisandrosnik@gmail.com> | Sun Jun 28 02:41:48 2020 +0300 |
committer | GitHub <noreply@github.com> | Sun Jun 28 00:41:48 2020 +0100 |
tree | f967a28bdffe1656593c04ae0634e7cc6b3bf566 | |
parent | 89e82c4a6285c89c054980591c078245a5cc6337 [diff] |
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.