diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2020-06-28 00:15:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 00:15:28 (GMT) |
commit | dab533d0ee067159812d4ea51f6fbbb1bd37d8b7 (patch) | |
tree | b6f71930c913781bc1e4d81ee24f6349087e9844 /Python/pythonrun.c | |
parent | 102ca529ef5d45b9ef70a341705ddf2577914135 (diff) | |
download | cpython-dab533d0ee067159812d4ea51f6fbbb1bd37d8b7.zip cpython-dab533d0ee067159812d4ea51f6fbbb1bd37d8b7.tar.gz cpython-dab533d0ee067159812d4ea51f6fbbb1bd37d8b7.tar.bz2 |
[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)
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions