Skip to content

Commit

Permalink
pythongh-98040: Remove just the imp module
Browse files Browse the repository at this point in the history
  • Loading branch information
warsaw authored and CAM-Gerlach committed Apr 11, 2023
1 parent ebc8103 commit 44cd65d
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 1,912 deletions.
1 change: 0 additions & 1 deletion Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ backwards compatibility. They have been superseded by other modules.
chunk.rst
crypt.rst
imghdr.rst
imp.rst
mailcap.rst
msilib.rst
nis.rst
Expand Down
4 changes: 0 additions & 4 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1246,10 +1246,6 @@ always available.

Originally specified in :pep:`302`.

.. versionchanged:: 3.3
``None`` is stored instead of :class:`imp.NullImporter` when no finder
is found.


.. data:: platform

Expand Down
5 changes: 4 additions & 1 deletion Doc/whatsnew/3.12.rst
Original file line number Diff line number Diff line change
Expand Up @@ -859,11 +859,14 @@ Removed
completed:

* References to, and support for ``module_repr()`` has been eradicated.

(Contributed by Barry Warsaw in :gh:`97850`.)

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

* The `imp` module has been removed. (Contributed by Barry Warsaw in
:gh:`98040`.)

* Removed the ``suspicious`` rule from the documentation Makefile, and
removed ``Doc/tools/rstlint.py``, both in favor of `sphinx-lint
<https://github.com/sphinx-contrib/sphinx-lint>`_.
Expand Down
346 changes: 0 additions & 346 deletions Lib/imp.py

This file was deleted.

Loading

0 comments on commit 44cd65d

Please sign in to comment.