]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27513: email.utils.getaddresses() now handles Header objects (#13797)
authorZackery Spytz <zspytz@gmail.com>
Mon, 19 Jul 2021 16:07:54 +0000 (09:07 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Jul 2021 16:07:54 +0000 (18:07 +0200)
commit89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2
tree3e61b3926880881564abf9cbbb33bca6deb85daf
parent1e651c6adad8e4e772a15eaa9ee659b1283a96d9
bpo-27513: email.utils.getaddresses() now handles Header objects (#13797)

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

Co-authored-by: Ɓukasz Langa <lukasz@langa.pl>
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]