Skip to content

Commit 1c9c352

Browse files
committed
pythongh-98040: Remove just the imp module
1 parent b6d5d5b commit 1c9c352

File tree

9 files changed

+7
-1042
lines changed

9 files changed

+7
-1042
lines changed

Doc/library/superseded.rst

-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ backwards compatibility. They have been superseded by other modules.
1919
chunk.rst
2020
crypt.rst
2121
imghdr.rst
22-
imp.rst
2322
mailcap.rst
2423
msilib.rst
2524
nis.rst

Doc/library/sys.rst

-4
Original file line numberDiff line numberDiff line change
@@ -1208,10 +1208,6 @@ always available.
12081208

12091209
Originally specified in :pep:`302`.
12101210

1211-
.. versionchanged:: 3.3
1212-
``None`` is stored instead of :class:`imp.NullImporter` when no finder
1213-
is found.
1214-
12151211

12161212
.. data:: platform
12171213

Doc/whatsnew/3.12.rst

+4-1
Original file line numberDiff line numberDiff line change
@@ -465,11 +465,14 @@ Removed
465465
completed:
466466

467467
* References to, and support for ``module_repr()`` has been eradicated.
468-
468+
(Contributed by Barry Warsaw in :gh:`97850`.)
469469

470470
* ``importlib.util.set_package`` has been removed.
471471
(Contributed by Brett Cannon in :gh:`65961`.)
472472

473+
* The `imp` module has been removed. (Contributed by Barry Warsaw in
474+
:gh:`98040`.)
475+
473476
* Removed the ``suspicious`` rule from the documentation Makefile, and
474477
removed ``Doc/tools/rstlint.py``, both in favor of `sphinx-lint
475478
<https://github.com/sphinx-contrib/sphinx-lint>`_.

Lib/imp.py

-346
This file was deleted.

0 commit comments

Comments
 (0)