8000 add distutils and imp to the removed section · python/cpython@e6dafd0 · GitHub
[go: up one dir, main page]

Skip to content

Commit e6dafd0

Browse files
committed
add distutils and imp to the removed section
1 parent 5716d0e commit e6dafd0

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

Doc/library/distutils.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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>` 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>`_.

Doc/library/imp.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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>` after
12+
being deprecated in Python 3.4.
13+
14+
The last version of Python that provided the :mod:`!imp` module was
15+
`Python 3.11 <https://docs.python.org/3.11/library/imp.html>`_.

Doc/library/removed.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ standard library. They are documented here to help people find replacements.
2121
cgitb.rst
2222
chunk.rst
2323
crypt.rst
24+
distutils.rst
2425
imghdr.rst
26+
imp.rst
2527
mailcap.rst
2628
msilib.rst
2729
nis.rst

0 commit comments

Comments
 (0)
0