Skip to content

Commit 44cd65d

Browse files
warsawCAM-Gerlach
authored andcommitted
pythongh-98040: Remove just the imp module
1 parent ebc8103 commit 44cd65d

File tree

9 files changed

+7
-1912
lines changed

9 files changed

+7
-1912
lines changed

Doc/library/superseded.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ backwards compatibility. They have been superseded by other modules.
1717
chunk.rst
1818
crypt.rst
1919
imghdr.rst
20-
imp.rst
2120
mailcap.rst
2221
msilib.rst
2322
nis.rst

Doc/library/sys.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1246,10 +1246,6 @@ always available.
12461246

12471247
Originally specified in :pep:`302`.
12481248

1249-
.. versionchanged:: 3.3
1250-
``None`` is stored instead of :class:`imp.NullImporter` when no finder
1251-
is found.
1252-
12531249

12541250
.. data:: platform
12551251

Doc/whatsnew/3.12.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -859,11 +859,14 @@ Removed
859859
completed:
860860

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

864864
* ``importlib.util.set_package`` has been removed.
865865
(Contributed by Brett Cannon in :gh:`65961`.)
866866

867+
* The `imp` module has been removed. (Contributed by Barry Warsaw in
868+
:gh:`98040`.)
869+
867870
* Removed the ``suspicious`` rule from the documentation Makefile, and
868871
removed ``Doc/tools/rstlint.py``, both in favor of `sphinx-lint
869872
<https://github.com/sphinx-contrib/sphinx-lint>`_.

Lib/imp.py

Lines changed: 0 additions & 346 deletions
This file was deleted.

0 commit comments

Comments
 (0)