]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91217: deprecate imghdr (#91461)
authorBrett Cannon <brett@python.org>
Wed, 13 Apr 2022 17:47:41 +0000 (10:47 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Apr 2022 17:47:41 +0000 (10:47 -0700)
commit3fc57e8f6ff925b561b03c46bcf5bd323782c19c
treea69bfe3acdb5be3ee7ffc0536d15397a39580800
parentdfbc792a4b1e033d6628eda463c0933aef081bbe
gh-91217: deprecate imghdr (#91461)

* Deprecate imghdr

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Update Doc/whatsnew/3.11.rst

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* Inline `imghdr` into `email.mime.image`

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
Co-authored-by: Barry Warsaw <barry@python.org>
Doc/includes/email-mime.py
Doc/library/email.mime.rst
Doc/whatsnew/3.11.rst
Lib/email/mime/image.py
Lib/imghdr.py
Lib/test/test_email/test_email.py
Lib/test/test_imghdr.py
Misc/NEWS.d/next/Library/2022-04-11-17-04-38.gh-issue-91217.QVDLOq.rst [new file with mode: 0644]