commit | dab533d0ee067159812d4ea51f6fbbb1bd37d8b7 | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Sun Jun 28 01:15:28 2020 +0100 |
committer | GitHub <noreply@github.com> | Sun Jun 28 01:15:28 2020 +0100 |
tree | b6f71930c913781bc1e4d81ee24f6349087e9844 | |
parent | 102ca529ef5d45b9ef70a341705ddf2577914135 [diff] |
[3.9] bpo-41076: Pre-feed the parser with the f-string expression location (GH-21054) (GH-21190) 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.. (cherry picked from commit 1f0f4abb110b9fbade6175842b6a26ab0b8df6dd)