Skip to content

[3.9] bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084)#21188

Merged
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-2e0a920-3.9
Jun 27, 2020
Merged

[3.9] bpo-41084: Adjust message when an f-string expression causes a SyntaxError (GH-21084)#21188
miss-islington merged 1 commit into
python:3.9from
miss-islington:backport-2e0a920-3.9

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 27, 2020

Copy link
Copy Markdown
Contributor

Prefix the error message with fstring: , when parsing an f-string expression throws a SyntaxError.
(cherry picked from commit 2e0a920)

Co-authored-by: Lysandros Nikolaou lisandrosnik@gmail.com

https://bugs.python.org/issue41084

…Error (pythonGH-21084)

Prefix the error message with `fstring: `, when parsing an f-string expression throws a `SyntaxError`.
(cherry picked from commit 2e0a920)

Co-authored-by: Lysandros Nikolaou <lisandrosnik@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

@lysnikolaou and @pablogsal: Status check is done, and it's a success ✅ .

@miss-islington
miss-islington merged commit cb0dc52 into python:3.9 Jun 27, 2020
@miss-islington
miss-islington deleted the backport-2e0a920-3.9 branch June 27, 2020 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants