Skip to content

gh-98040: Remove just the imp module #98573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 17 commits into from
Apr 28, 2023
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
411 changes: 0 additions & 411 deletions Doc/library/imp.rst

This file was deleted.

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 @@ -1253,10 +1253,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 @@ -912,11 +912,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 :mod:`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