diff options
author | Zackery Spytz <zspytz@gmail.com> | 2021-07-19 16:07:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 16:07:54 (GMT) |
commit | 89f4c34797de2f0e5045da2b97c1c8cbbb42fbb2 (patch) | |
tree | 3e61b3926880881564abf9cbbb33bca6deb85daf /Misc | |
parent | 1e651c6adad8e4e772a15eaa9ee659b1283a96d9 (diff) | |
download | cpython-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.rst | 3 |
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. |