diff options
author | Michael Droettboom <mdboom@gmail.com> | 2022-09-06 23:12:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-06 23:12:16 (GMT) |
commit | 05692c67c51b78a5a5a7bb61d646519025e38015 (patch) | |
tree | 1fe2f031c0d77bcfdd09d1acb20a752d176f8047 /Misc | |
parent | 67444902a0f10419a557d0a2d3b8675c31b075a9 (diff) | |
download | cpython-05692c67c51b78a5a5a7bb61d646519025e38015.zip cpython-05692c67c51b78a5a5a7bb61d646519025e38015.tar.gz cpython-05692c67c51b78a5a5a7bb61d646519025e38015.tar.bz2 |
gh-96611: Fix error message for invalid UTF-8 in mid-multiline string (#96623)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-09-06-16-22-13.gh-issue-96611.14wIX8.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-09-06-16-22-13.gh-issue-96611.14wIX8.rst b/Misc/NEWS.d/next/Core and Builtins/2022-09-06-16-22-13.gh-issue-96611.14wIX8.rst new file mode 100644 index 0000000..08bd409 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-09-06-16-22-13.gh-issue-96611.14wIX8.rst @@ -0,0 +1,2 @@ +When loading a file with invalid UTF-8 inside a multi-line string, a correct +SyntaxError is emitted. |