summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2021-07-19 16:07:54 (GMT)
committerGitHub <noreply@github.com>2021-07-19 16:07:54 (GMT)
commit89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2 (patch)
tree3e61b3926880881564abf9cbbb33bca6deb85daf /Misc
parent1e651c6adad8e4e772a15eaa9ee659b1283a96d9 (diff)
downloadcpython-89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2.zip
cpython-89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2.tar.gz
cpython-89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2.tar.bz2
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>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2019-06-03-23-53-25.bpo-27513.qITN7d.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2019-06-03-23-53-25.bpo-27513.qITN7d.rst b/Misc/NEWS.d/next/Library/2019-06-03-23-53-25.bpo-27513.qITN7d.rst
new file mode 100644
index 0000000..90d49bb
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2019-06-03-23-53-25.bpo-27513.qITN7d.rst
@@ -0,0 +1,3 @@
+:func:`email.utils.getaddresses` now accepts
+:class:`email.header.Header` objects along with string values.
+Patch by Zackery Spytz.