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 committed Oct 23, 2022
1 parent b6d5d5b commit 1c9c352
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 1,042 deletions.
1 change: 0 additions & 1 deletion Doc/library/superseded.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,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 @@ -1208,10 +1208,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 @@ -465,11 +465,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 1c9c352

Please sign in to comment.