Skip to content
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

Merged
merged 2 commits into from Jun 7, 2021

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Jun 6, 2021

  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.

https://bugs.python.org/issue44322

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>
@terryjreedy terryjreedy merged commit 67dfa6f into python:main Jun 7, 2021
@miss-islington
Copy link
Contributor

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.9.
🐍🍒⛏🤖

@miss-islington
Copy link
Contributor

Sorry, @terryjreedy, I could not cleanly backport this to 3.9 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 67dfa6f2a508c325715625fe442f2ce20270a8b3 3.9

@bedevere-bot
Copy link

GH-26569 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Jun 7, 2021
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 7, 2021
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>
@terryjreedy terryjreedy deleted the synerr branch June 7, 2021 01:43
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request Jun 7, 2021
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)
terryjreedy added a commit to terryjreedy/cpython that referenced this pull request Jun 7, 2021
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>
@bedevere-bot bedevere-bot removed the needs backport to 3.9 only security fixes label Jun 7, 2021
@bedevere-bot
Copy link

GH-26570 is a backport of this pull request to the 3.9 branch.

terryjreedy added a commit that referenced this pull request Jun 7, 2021
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>
terryjreedy added a commit that referenced this pull request Jun 7, 2021
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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants