@@ -1499,8 +1499,20 @@ All of the following modules were deprecated in Python 3.11,
1499
1499
and are now removed:
1500
1500
1501
1501
* :mod: `!aifc `
1502
+
1503
+ * :pypi: `standard-aifc `:
1504
+ Use the redistribution of ``aifc `` library from PyPI.
1505
+
1502
1506
* :mod: `!audioop `
1507
+
1508
+ * :pypi: `audioop-lts `:
1509
+ Use ``audioop-lts `` library from PyPI.
1510
+
1503
1511
* :mod: `!chunk `
1512
+
1513
+ * :pypi: `standard-chunk `:
1514
+ Use the redistribution of ``chunk `` library from PyPI.
1515
+
1504
1516
* :mod: `!cgi ` and :mod: `!cgitb `
1505
1517
1506
1518
* :class: `!cgi.FieldStorage ` can typically be replaced with
@@ -1531,6 +1543,9 @@ and are now removed:
1531
1543
For example, the :class: `email.message.EmailMessage `
1532
1544
and :class: `email.message.Message ` classes.
1533
1545
1546
+ * :pypi: `standard-cgi `: and :pypi: `standard-cgitb `:
1547
+ Use the redistribution of ``cgi `` and ``cgitb `` library from PyPI.
1548
+
1534
1549
* :mod: `!crypt ` and the private :mod: `!_crypt ` extension.
1535
1550
The :mod: `hashlib ` module may be an appropriate replacement
1536
1551
when simply hashing a value is required.
@@ -1549,37 +1564,74 @@ and are now removed:
1549
1564
Fork of the :mod: `!crypt ` module,
1550
1565
wrapper to the :manpage: `crypt_r(3)` library call
1551
1566
and associated functionality.
1567
+ * :pypi: `standard-crypt ` and :pypi: `deprecated-crypt-alternative `:
1568
+ Use the redistribution of ``crypt `` and reimplementation of ``_crypt `` libraries from PyPI.
1552
1569
1553
1570
* :mod: `!imghdr `:
1554
1571
The :pypi: `filetype `, :pypi: `puremagic `, or :pypi: `python-magic ` libraries
1555
1572
should be used as replacements.
1556
1573
For example, the :func: `!puremagic.what ` function can be used
1557
1574
to replace the :func: `!imghdr.what ` function for all file formats
1558
1575
that were supported by :mod: `!imghdr `.
1576
+
1577
+ * :pypi: `standard-imghdr `:
1578
+ Use the redistribution of ``imghdr `` library from PyPI.
1579
+
1559
1580
* :mod: `!mailcap `:
1560
1581
Use the :mod: `mimetypes ` module instead.
1582
+
1583
+ * :pypi: `standard-mailcap `:
1584
+ Use the redistribution of ``mailcap `` library from PyPI.
1585
+
1561
1586
* :mod: `!msilib `
1562
1587
* :mod: `!nis `
1563
1588
* :mod: `!nntplib `:
1564
1589
Use the :pypi: `pynntp ` library from PyPI instead.
1590
+
1591
+ * :pypi: `standard-nntplib `:
1592
+ Use the redistribution of ``nntplib `` library from PyPI.
1593
+
1565
1594
* :mod: `!ossaudiodev `:
1566
1595
For audio playback, use the :pypi: `pygame ` library from PyPI instead.
1567
1596
* :mod: `!pipes `:
1568
1597
Use the :mod: `subprocess ` module instead.
1569
1598
Use :func: `shlex.quote ` to replace the undocumented ``pipes.quote ``
1570
1599
function.
1600
+
1601
+ * :pypi: `standard-pipes `:
1602
+ Use the redistribution of ``pipes `` library from PyPI.
1603
+
1571
1604
* :mod: `!sndhdr `:
1572
1605
The :pypi: `filetype `, :pypi: `puremagic `, or :pypi: `python-magic ` libraries
1573
1606
should be used as replacements.
1607
+
1608
+ * :pypi: `standard-sndhdr `:
1609
+ Use the redistribution of ``sndhdr `` library from PyPI.
1610
+
1574
1611
* :mod: `!spwd `:
1575
1612
Use the :pypi: `python-pam ` library from PyPI instead.
1576
1613
* :mod: `!sunau `
1614
+
1615
+ * :pypi: `standard-sunau `:
1616
+ Use the redistribution of ``sunau `` library from PyPI.
1617
+
1577
1618
* :mod: `!telnetlib `,
1578
1619
Use the :pypi: `telnetlib3 ` or :pypi: `Exscript ` libraries from PyPI instead.
1620
+
1621
+ * :pypi: `standard-telnetlib `:
1622
+ Use the redistribution of ``telnetlib `` library from PyPI.
1623
+
1579
1624
* :mod: `!uu `:
1580
1625
Use the :mod: `base64 ` module instead, as a modern alternative.
1626
+
1627
+ * :pypi: `standard-uu `:
1628
+ Use the redistribution of ``uu `` library from PyPI.
1629
+
1581
1630
* :mod: `!xdrlib `
1582
1631
1632
+ * :pypi: `standard-xdrlib `:
1633
+ Use the redistribution of ``xdrlib `` library from PyPI.
1634
+
1583
1635
(Contributed by Victor Stinner and Zachary Ware in :gh: `104773 ` and :gh: `104780 `.)
1584
1636
1585
1637
0 commit comments