Skip to content

Commit ec2abe6

Browse files
committed
Add list of 3.13 removed library replacements
1 parent db9bea0 commit ec2abe6

File tree

1 file changed

+52
-0
lines changed

1 file changed

+52
-0
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,8 +1492,20 @@ All of the following modules were deprecated in Python 3.11,
14921492
and are now removed:
14931493

14941494
* :mod:`!aifc`
1495+
1496+
* :pypi:`standard-aifc`:
1497+
Use the redistribution of ``aifc`` library from PyPI.
1498+
14951499
* :mod:`!audioop`
1500+
1501+
* :pypi:`audioop-lts`:
1502+
Use ``audioop-lts`` library from PyPI.
1503+
14961504
* :mod:`!chunk`
1505+
1506+
* :pypi:`standard-chunk`:
1507+
Use the redistribution of ``chunk`` library from PyPI.
1508+
14971509
* :mod:`!cgi` and :mod:`!cgitb`
14981510

14991511
* :class:`!cgi.FieldStorage` can typically be replaced with
@@ -1524,6 +1536,9 @@ and are now removed:
15241536
For example, the :class:`email.message.EmailMessage`
15251537
and :class:`email.message.Message` classes.
15261538

1539+
* :pypi:`standard-cgi`: and :pypi:`standard-cgitb`:
1540+
Use the redistribution of ``cgi`` and ``cgitb`` library from PyPI.
1541+
15271542
* :mod:`!crypt` and the private :mod:`!_crypt` extension.
15281543
The :mod:`hashlib` module may be an appropriate replacement
15291544
when simply hashing a value is required.
@@ -1542,37 +1557,74 @@ and are now removed:
15421557
Fork of the :mod:`!crypt` module,
15431558
wrapper to the :manpage:`crypt_r(3)` library call
15441559
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.
15451562

15461563
* :mod:`!imghdr`:
15471564
The :pypi:`filetype`, :pypi:`puremagic`, or :pypi:`python-magic` libraries
15481565
should be used as replacements.
15491566
For example, the :func:`!puremagic.what` function can be used
15501567
to replace the :func:`!imghdr.what` function for all file formats
15511568
that were supported by :mod:`!imghdr`.
1569+
1570+
* :pypi:`standard-imghdr`:
1571+
Use the redistribution of ``imghdr`` library from PyPI.
1572+
15521573
* :mod:`!mailcap`:
15531574
Use the :mod:`mimetypes` module instead.
1575+
1576+
* :pypi:`standard-mailcap`:
1577+
Use the redistribution of ``mailcap`` library from PyPI.
1578+
15541579
* :mod:`!msilib`
15551580
* :mod:`!nis`
15561581
* :mod:`!nntplib`:
15571582
Use the :pypi:`pynntp` library from PyPI instead.
1583+
1584+
* :pypi:`standard-nntplib`:
1585+
Use the redistribution of ``nntplib`` library from PyPI.
1586+
15581587
* :mod:`!ossaudiodev`:
15591588
For audio playback, use the :pypi:`pygame` library from PyPI instead.
15601589
* :mod:`!pipes`:
15611590
Use the :mod:`subprocess` module instead.
15621591
Use :func:`shlex.quote` to replace the undocumented ``pipes.quote``
15631592
function.
1593+
1594+
* :pypi:`standard-pipes`:
1595+
Use the redistribution of ``pipes`` library from PyPI.
1596+
15641597
* :mod:`!sndhdr`:
15651598
The :pypi:`filetype`, :pypi:`puremagic`, or :pypi:`python-magic` libraries
15661599
should be used as replacements.
1600+
1601+
* :pypi:`standard-sndhdr`:
1602+
Use the redistribution of ``sndhdr`` library from PyPI.
1603+
15671604
* :mod:`!spwd`:
15681605
Use the :pypi:`python-pam` library from PyPI instead.
15691606
* :mod:`!sunau`
1607+
1608+
* :pypi:`standard-sunau`:
1609+
Use the redistribution of ``sunau`` library from PyPI.
1610+
15701611
* :mod:`!telnetlib`,
15711612
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+
15721617
* :mod:`!uu`:
15731618
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+
15741623
* :mod:`!xdrlib`
15751624

1625+
* :pypi:`standard-xdrlib`:
1626+
Use the redistribution of ``xdrlib`` library from PyPI.
1627+
15761628
(Contributed by Victor Stinner and Zachary Ware in :gh:`104773` and :gh:`104780`.)
15771629

15781630

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy