]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119389)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 May 2024 11:07:38 +0000 (13:07 +0200)
committerGitHub <noreply@github.com>
Wed, 22 May 2024 11:07:38 +0000 (14:07 +0300)
commit6892b400dc8c95375ef31f6d716d62a6ff0c4cf2
tree83f4a71706ca31c63980f353c564ab5059a1f122
parent414346e56d98d655f25bbac0bed1811aaa651636
[3.13] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119389)

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)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
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]