Skip to content

bpo-40334: Fix shifting of nested fstrings#19771

Merged
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:fix-nested-fstring-shifting
Apr 29, 2020
Merged

bpo-40334: Fix shifting of nested fstrings#19771
pablogsal merged 1 commit intopython:masterfrom
lysnikolaou:fix-nested-fstring-shifting

Conversation

@lysnikolaou
Copy link
Copy Markdown
Member

@lysnikolaou lysnikolaou commented Apr 28, 2020

JoinedStrs and FormattedValues also need to be shifted, in order
to correctly compute the location of nested fstrings.

Closes we-like-parsers#114.

https://bugs.python.org/issue40334

`JoinedStr`s and `FormattedValue`s also need to be shifted, in order
to correctly compute the location of nested fstrings.

Closes we-like-parsers#114.
@pablogsal
Copy link
Copy Markdown
Member

I don't understand why Azure keeps failing :S

@pablogsal pablogsal closed this Apr 29, 2020
@pablogsal pablogsal reopened this Apr 29, 2020
@pablogsal pablogsal merged commit 37af21b into python:master Apr 29, 2020
@lysnikolaou lysnikolaou deleted the fix-nested-fstring-shifting branch April 29, 2020 07:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Column offsets in nested f-string expressions are wrong

4 participants