Skip to content
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

gh-92308: Add Pending Removal section to 3.11 What's New #92309

Merged
merged 7 commits into from
May 7, 2022
Merged
Changes from 1 commit
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
59 changes: 59 additions & 0 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,65 @@ Deprecated
(Contributed by Serhiy Storchaka in :gh:`91760`.)


Pending Removal
===============

* ``Py_UNICODE`` encoder APIs are pending removal as per :pep:`624`
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved

* The entire :ref:`distutils namespace <distutils-deprecated>` is scheduled for
removal in Python 3.12.

* The various implementations of
:meth:`importlib.abc.MetaPathFinder.find_module` (
:meth:`importlib.machinery.BuiltinImporter.find_module`,
:meth:`importlib.machinery.FrozenImporter.find_module`,
:meth:`importlib.machinery.WindowsRegistryFinder.find_module`,
:meth:`importlib.machinery.PathFinder.find_module`,
:meth:`importlib.abc.MetaPathFinder.find_module` ),
:meth:`importlib.abc.PathEntryFinder.find_module` (
:meth:`importlib.machinery.FileFinder.find_module` ), and
:meth:`importlib.abc.PathEntryFinder.find_loader` (
:meth:`importlib.machinery.FileFinder.find_loader` )
are slated for removal in Python 3.12.
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Brett Cannon in :issue:`42135`.)

* The deprecations of :mod:`imp`, :func:`importlib.find_loader`,
:func:`importlib.util.set_package_wrapper`,
:func:`importlib.util.set_loader_wrapper`,
:func:`importlib.util.module_for_loader`,
:class:`pkgutil.ImpImporter`, and
:class:`pkgutil.ImpLoader` are slated for in Python 3.12.
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Brett Cannon in :issue:`43720`.)

* :meth:`importlib.abc.Loadermodule_repr` is scheduled for removal in
Python 3.12.
(Contributed by Brett Cannon in :issue:`42137`.)

* :meth:`importlib.abc.Loader.module_repr`,
:meth:`importlib.machinery.FrozenLoader.module_repr`, and
:meth:`importlib.machinery.BuiltinLoader.module_repr` are
slated for removal in Python 3.12.
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Brett Cannon in :issue:`42136`.)

* Undocumented ``sqlite3.OptimizedUnicode`` is scheduled for removal in
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
Python 3.12.
(Contributed by Erlend E. Aasland in :issue:`42264`.)

* Undocumented ``sqlite3.enable_shared_cache`` is scheduled for removal in
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
Python 3.12.
(Contributed by Erlend E. Aasland in :issue:`24464`.)

* :meth:`pathlib.Path.link_to` is slated for removal in Python 3.12.
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Barney Gale in :issue:`39950`.)

* ``cgi.log()`` is slated for removal in Python 3.12.
erlend-aasland marked this conversation as resolved.
Show resolved Hide resolved
(Contributed by Inada Naoki in :issue:`41139`.)

* The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is
scheduled for removal in Python 3.12.
(Contributed by Victor Stinner in :issue:`44584`.)


Removed
=======

Expand Down