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