File tree Expand file tree Collapse file tree 8 files changed +114
-0
lines changed
Expand file tree Collapse file tree 8 files changed +114
-0
lines changed Original file line number Diff line number Diff line change 1+ :mod: `!asynchat ` --- Asynchronous socket command/response handler
2+ =================================================================
3+
4+ .. module :: asynchat
5+ :synopsis: Removed in 3.12.
6+ :deprecated:
7+
8+ .. deprecated-removed :: 3.6 3.12
9+
10+ This module is no longer part of the Python standard library.
11+ It was :ref: `removed in Python 3.12 <whatsnew312-removed >` after
12+ being deprecated in Python 3.6. The removal was decided in :pep: `594 `.
13+
14+ Applications should use the :mod: `asyncio ` module instead.
15+
16+ The last version of Python that provided the :mod: `!asynchat ` module was
17+ `Python 3.11 <https://docs.python.org/3.11/library/asynchat.html >`_.
Original file line number Diff line number Diff line change 1+ :mod: `!asyncore ` --- Asynchronous socket handler
2+ ================================================
3+
4+ .. module :: asyncore
5+ :synopsis: Removed in 3.12.
6+ :deprecated:
7+
8+ .. deprecated-removed :: 3.6 3.12
9+
10+ This module is no longer part of the Python standard library.
11+ It was :ref: `removed in Python 3.12 <whatsnew312-removed >` after
12+ being deprecated in Python 3.6. The removal was decided in :pep: `594 `.
13+
14+ Applications should use the :mod: `asyncio ` module instead.
15+
16+ The last version of Python that provided the :mod: `!asyncore ` module was
17+ `Python 3.11 <https://docs.python.org/3.11/library/asyncore.html >`_.
Original file line number Diff line number Diff line change 1+ :mod: `!distutils ` --- Building and installing Python modules
2+ ============================================================
3+
4+ .. module :: distutils
5+ :synopsis: Removed in 3.12.
6+ :deprecated:
7+
8+ .. deprecated-removed :: 3.10 3.12
9+
10+ This module is no longer part of the Python standard library.
11+ It was :ref: `removed in Python 3.12 <whatsnew312-removed-distutils >` after
12+ being deprecated in Python 3.10. The removal was decided in :pep: `632 `,
13+ which has `migration advice
14+ <https://peps.python.org/pep-0632/#migration-advice> `_.
15+
16+ The last version of Python that provided the :mod: `!distutils ` module was
17+ `Python 3.11 <https://docs.python.org/3.11/library/distutils.html >`_.
Original file line number Diff line number Diff line change 1+ :mod: `!imp ` --- Access the import internals
2+ ===========================================
3+
4+ .. module :: imp
5+ :synopsis: Removed in 3.12.
6+ :deprecated:
7+
8+ .. deprecated-removed :: 3.4 3.12
9+
10+ This module is no longer part of the Python standard library.
11+ It was :ref: `removed in Python 3.12 <whatsnew312-removed-imp >` after
12+ being deprecated in Python 3.4.
13+
14+ The :ref: `removal notice <whatsnew312-removed-imp >` includes guidance for
15+ migrating code from :mod: `!imp ` to :mod: `importlib `.
16+
17+ The last version of Python that provided the :mod: `!imp ` module was
18+ `Python 3.11 <https://docs.python.org/3.11/library/imp.html >`_.
Original file line number Diff line number Diff line change @@ -75,4 +75,5 @@ the `Python Package Index <https://pypi.org>`_.
7575 unix.rst
7676 cmdline.rst
7777 superseded.rst
78+ removed.rst
7879 security_warnings.rst
Original file line number Diff line number Diff line change 1+ :tocdepth: 1
2+
3+ .. _removed :
4+
5+ ***************
6+ Removed Modules
7+ ***************
8+
9+ The modules described in this chapter have been removed from the Python
10+ standard library. They are documented here to help people find replacements.
11+
12+
13+ .. toctree ::
14+ :maxdepth: 1
15+
16+ asynchat.rst
17+ asyncore.rst
18+ distutils.rst
19+ imp.rst
20+ smtpd.rst
Original file line number Diff line number Diff line change 1+ :mod: `!smtpd ` --- SMTP Server
2+ =============================
3+
4+ .. module :: smtpd
5+ :synopsis: Removed in 3.12.
6+ :deprecated:
7+
8+ .. deprecated-removed :: 3.6 3.12
9+
10+ This module is no longer part of the Python standard library.
11+ It was :ref: `removed in Python 3.12 <whatsnew312-removed >` after
12+ being deprecated in Python 3.6. The removal was decided in :pep: `594 `.
13+
14+ A possible replacement is the third-party :pypi: `aiosmtpd ` library. This
15+ library is not maintained or supported by the Python core team.
16+
17+ The last version of Python that provided the :mod: `!smtpd ` module was
18+ `Python 3.11 <https://docs.python.org/3.11/library/smtpd.html >`_.
Original file line number Diff line number Diff line change @@ -1352,6 +1352,8 @@ Deprecated
13521352
13531353.. include :: ../deprecations/pending-removal-in-future.rst
13541354
1355+ .. _whatsnew312-removed :
1356+
13551357Removed
13561358=======
13571359
@@ -1377,6 +1379,8 @@ configparser
13771379 * :class: `configparser.ConfigParser ` no longer has a ``readfp `` method.
13781380 Use :meth: `~configparser.ConfigParser.read_file ` instead.
13791381
1382+ .. _whatsnew312-removed-distutils :
1383+
13801384distutils
13811385---------
13821386
@@ -1458,6 +1462,8 @@ importlib
14581462 * ``importlib.abc.Finder ``, ``pkgutil.ImpImporter ``, and ``pkgutil.ImpLoader ``
14591463 have been removed. (Contributed by Barry Warsaw in :gh: `98040 `.)
14601464
1465+ .. _whatsnew312-removed-imp :
1466+
14611467imp
14621468---
14631469
You can’t perform that action at this time.
0 commit comments