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)
committerSean Whitton <spwhitton@spwhitton.name>
Thu, 20 Mar 2025 02:07:39 +0000 (10:07 +0800)
commitc70db58615d2b266b96df36ca08e349ce4be5aea
tree5318f2107d0fa97a103c94cbdcee0f7ad5b5b776
parentce9007a0419cb228e6a49703b83889d8fac4f35e
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>
Gbp-Pq: Name 0014-bpo-27513-email.utils.getaddresses-now-handles-Heade.patch
Lib/email/utils.py
Lib/test/test_email/test_email.py