]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)
authorSerhiy Storchaka <storchaka@gmail.com>
Thu, 23 May 2024 12:09:03 +0000 (15:09 +0300)
committerGitHub <noreply@github.com>
Thu, 23 May 2024 12:09:03 +0000 (13:09 +0100)
commit4762b365406a8cf026a4a4ddcae34c28a41c3de9
treeef772735bc74d35c307626e9b2c6d998848b51dd
parentba431579efdcbaed7a96f2ac4ea0775879a332fb
[3.11] gh-118643: Fix AttributeError in the email module (GH-119099) (#119393)

Fix regression introduced in gh-100884: AttributeError when re-fold a long
address list.

Also fix more cases of incorrect encoding of the address separator in the
address list missed in gh-100884.
(cherry picked from commit 858b9e85fcdd495947c9e892ce6e3734652c48f2)
Lib/email/_header_value_parser.py
Lib/test/test_email/test__header_value_parser.py
Misc/NEWS.d/next/Library/2024-05-16-17-31-46.gh-issue-118643.hAWH4C.rst [new file with mode: 0644]