Skip to content

Commit 9d457e1

Browse files
authored
gh-104773: PEP 594: Remove the mailcap module (#104867)
Remove Lib/test/mailcap.txt test file.
1 parent bbc5e5c commit 9d457e1

File tree

12 files changed

+9
-715
lines changed

12 files changed

+9
-715
lines changed

Doc/library/mailcap.rst

Lines changed: 0 additions & 94 deletions
This file was deleted.

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ backwards compatibility. They have been superseded by other modules.
1515
chunk.rst
1616
crypt.rst
1717
imghdr.rst
18-
mailcap.rst
1918
msilib.rst
2019
nis.rst
2120
nntplib.rst

Doc/whatsnew/3.11.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1737,7 +1737,7 @@ Modules
17371737
+---------------------+---------------------+---------------------+---------------------+---------------------+
17381738
| :mod:`!cgi` | :mod:`imghdr` | :mod:`nntplib` | :mod:`spwd` | :mod:`xdrlib` |
17391739
+---------------------+---------------------+---------------------+---------------------+---------------------+
1740-
| :mod:`!cgitb` | :mod:`mailcap` | :mod:`!ossaudiodev` | :mod:`!sunau` | |
1740+
| :mod:`!cgitb` | :mod:`!mailcap` | :mod:`!ossaudiodev` | :mod:`!sunau` | |
17411741
+---------------------+---------------------+---------------------+---------------------+---------------------+
17421742

17431743
(Contributed by Brett Cannon in :issue:`47061` and Victor Stinner in

Doc/whatsnew/3.12.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ Modules (see :pep:`594`):
893893
* :mod:`chunk`
894894
* :mod:`crypt`
895895
* :mod:`imghdr`
896-
* :mod:`mailcap`
896+
* :mod:`!mailcap`
897897
* :mod:`msilib`
898898
* :mod:`nis`
899899
* :mod:`nntplib`

Doc/whatsnew/3.13.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,10 @@ Removed
164164
* :pep:`594`: Remove the :mod:`!sunau` module, deprecated in Python 3.11.
165165
(Contributed by Victor Stinner in :gh:`104773`.)
166166

167+
* :pep:`594`: Remove the :mod:`!mailcap` module, deprecated in Python 3.11.
168+
The :mod:`mimetypes` module provides an alternative.
169+
(Contributed by Victor Stinner in :gh:`104773`.)
170+
167171

168172
Porting to Python 3.13
169173
======================

0 commit comments

Comments
 (0)