]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (GH-27242)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Jul 2021 16:54:45 +0000 (09:54 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 16:54:45 +0000 (18:54 +0200)
commit8c43bf1a923754fa6d97772151c6ac23c48759d3
tree2b735fcf283a48f20d543e1b5989d92ccdaa0d1d
parent2d0492091e3fce73230b2e88949210c9f1eb194b
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (GH-27242)

getaddresses() should be able to handle a Header object if passed
one.

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Lib/email/utils.py
Lib/test/test_email/test_email.py
Misc/NEWS.d/next/Library/2019-06-03-23-53-25.bpo-27513.qITN7d.rst [new file with mode: 0644]