diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-01-10 12:54:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 12:54:36 (GMT) |
commit | e9d5b6ea2d68564f176fdf70c2d7028e060c62b5 (patch) | |
tree | c309da0c1f4a51289b8c7ff6f581c68783c08329 /Misc | |
parent | 568d220993fa9b4b812ff1b425edd80dbe17dda9 (diff) | |
download | cpython-e9d5b6ea2d68564f176fdf70c2d7028e060c62b5.zip cpython-e9d5b6ea2d68564f176fdf70c2d7028e060c62b5.tar.gz cpython-e9d5b6ea2d68564f176fdf70c2d7028e060c62b5.tar.bz2 |
gh-113594: Fix UnicodeEncodeError in TokenList.fold() (GH-113730)
It occurred when try to re-encode an unknown-8bit part combined with non-unknown-8bit part.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-01-05-12-42-07.gh-issue-113594.4t8HiR.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-01-05-12-42-07.gh-issue-113594.4t8HiR.rst b/Misc/NEWS.d/next/Library/2024-01-05-12-42-07.gh-issue-113594.4t8HiR.rst new file mode 100644 index 0000000..c71bc9c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-01-05-12-42-07.gh-issue-113594.4t8HiR.rst @@ -0,0 +1,2 @@ +Fix :exc:`UnicodeEncodeError` in :mod:`email` when re-fold lines that +contain unknown-8bit encoded part followed by non-unknown-8bit encoded part. |