]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44322: Document more SyntaxError details. (GH-26562)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 7 Jun 2021 02:09:34 +0000 (19:09 -0700)
committerGitHub <noreply@github.com>
Mon, 7 Jun 2021 02:09:34 +0000 (22:09 -0400)
commit2af690fdb26d0312de056b54ddb113d3c44dee8c
tree977c3d122c5f2a4d86a7c1a9e842118a10204cc2
parentb5cedd098043dc58ecf9c2f33774cd7646506a92
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)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/exceptions.rst
Misc/NEWS.d/next/Documentation/2021-06-06-14-12-00.bpo-44322.K0PHfE.rst [new file with mode: 0644]