]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-53144: Improve charset support in the email package (GH-149942)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 5 Jun 2026 12:53:59 +0000 (15:53 +0300)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2026 12:53:59 +0000 (15:53 +0300)
commitc195a046f81d986dce22743d85e2500fe282e8a9
treede2f4cd959f7ee82288d58b855a1d4f2b6a277ce
parentac8f80ce7b93adf3a20c38b750118d73c5e316d1
gh-53144: Improve charset support in the email package (GH-149942)

Defer to the codecs module for all aliases.
Use MIME/IANA names for all IANA registered charsets.
Fix email.contentmanager.set_text_content().
Lib/email/charset.py
Lib/email/contentmanager.py
Lib/test/test_email/test_asian_codecs.py
Lib/test/test_email/test_contentmanager.py
Lib/test/test_email/test_email.py
Misc/NEWS.d/next/Library/2026-05-17-12-37-59.gh-issue-53144.c5tr1p.rst [new file with mode: 0644]