gh-68966: Deprecate the mailcap module (#91951)

This commit is contained in:
Victor Stinner 2022-04-26 22:43:50 +02:00 committed by GitHub
parent b87f7f2c21
commit 80de0273c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 29 additions and 8 deletions

View file

@ -3,9 +3,14 @@
.. module:: mailcap
:synopsis: Mailcap file handling.
:deprecated:
**Source code:** :source:`Lib/mailcap.py`
.. deprecated:: 3.11
The :mod:`mailcap` module is deprecated. See :pep:`594` for the rationale
and the :mod:`mimetypes` module for an alternative.
--------------
Mailcap files are used to configure how MIME-aware applications such as mail

View file

@ -13,7 +13,6 @@ on the internet.
email.rst
json.rst
mailcap.rst
mailbox.rst
mimetypes.rst
base64.rst

View file

@ -20,9 +20,10 @@ backwards compatibility. They have been superseded by other modules.
crypt.rst
imghdr.rst
imp.rst
mailcap.rst
msilib.rst
nntplib.rst
nis.rst
nntplib.rst
optparse.rst
ossaudiodev.rst
pipes.rst