]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119390)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 22 May 2024 11:08:05 +0000 (13:08 +0200)
committerGitHub <noreply@github.com>
Wed, 22 May 2024 11:08:05 +0000 (14:08 +0300)
commit8c96850161da23ad2b37551d2a89c7d4716fe024
tree3659f5690b8c8941685d09a3d6309467e903a233
parent2c7e9de98bab189500d6924a2ca1dba089de3f30
[3.12] gh-118643: Fix AttributeError in the email module (GH-119099) (GH-119390)

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]