-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
gh-138372: Fix SyntaxWarning for erroneous t-string subscription #138375
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-138372: Fix SyntaxWarning for erroneous t-string subscription #138375
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM as well! Thanks @brianschubert!
Thanks @brianschubert for the PR, and @pablogsal for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖
pythonGH-138375) (cherry picked from commit 5493b46) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
GH-138392 is a backport of this pull request to the 3.14 branch.
...cription (pythonGH-138375) (python#138392) pythongh-138372: Fix SyntaxWarning for erroneous t-string subscription (pythonGH-138375) (cherry picked from commit 5493b46) Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.
Demonstration:
SyntaxWarning
for an invalid index type calls a t-string astr
#138372