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