]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.9] bpo-44322: Document more SyntaxError details. (GH-26562)
authorTerry Jan Reedy <tjreedy@udel.edu>
Mon, 7 Jun 2021 02:57:53 +0000 (22:57 -0400)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 02:57:53 +0000 (22:57 -0400)
commitd5f8bd60e1203a41996b3ee370d6f09389070627
tree937bdb134055e7bbcc47b95ab67b6b8881615224
parent8e2c0fd7ada79107f7e0d9c465e77fb36a9486e5
[3.9] bpo-44322: Document more SyntaxError details. (GH-26562)

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 67dfa6f2a508c325715625fe442f2ce20270a8b3)
Doc/library/exceptions.rst
Misc/NEWS.d/next/Documentation/2021-06-06-14-12-00.bpo-44322.K0PHfE.rst [new file with mode: 0644]