]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Jul 2021 17:28:56 +0000 (10:28 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 17:28:56 +0000 (19:28 +0200)
commit9ee12cf325d4da2c07919e5e56545feb7e005e08
tree2d1c05518dcc836744928d368e4e529a3022ebb8
parent2f643b1a8cd53f3c2f49f931bc98990a3b400495
bpo-27513: email.utils.getaddresses() now handles Header objects (GH-13797) (#27245)

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]