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
bpo-44322: Document more SyntaxError details. #26562
Conversation
1. SyntaxError args have a tuple of other attributes. 2. Attributes are adjusted for errors in f-string field expressions. 3. Compile() can raise SyntaxErrors.
Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9. |
Sorry, @terryjreedy, I could not cleanly backport this to |
GH-26569 is a backport of this pull request to the 3.10 branch. |
1. SyntaxError args have a tuple of other attributes. 2. Attributes are adjusted for errors in f-string field expressions. 3. Compile() can raise SyntaxErrors. (cherry picked from commit 67dfa6f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1. SyntaxError args have a tuple of other attributes. 2. Attributes are adjusted for errors in f-string field expressions. 3. Compile() can raise SyntaxErrors. (cherry picked from commit 67dfa6f)
1. SyntaxError args have a tuple of other attributes. 2. Attributes are adjusted for errors in f-string field expressions. 3. Compile() can raise SyntaxErrors.. (cherry picked from commit 67dfa6f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
GH-26570 is a backport of this pull request to the 3.9 branch. |
1. SyntaxError args have a tuple of other attributes. 2. Attributes are adjusted for errors in f-string field expressions. 3. Compile() can raise SyntaxErrors. (cherry picked from commit 67dfa6f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
https://bugs.python.org/issue44322