Skip to content
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
Prev Previous commit
Next Next commit
Use compact list; drop attributions
  • Loading branch information
erlend-aasland committed May 5, 2022
commit e325c15e302ec38c274adf974e368139345a829f
101 changes: 44 additions & 57 deletions Doc/whatsnew/3.11.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1173,63 +1173,50 @@ Deprecated
(Contributed by Serhiy Storchaka in :gh:`91760`.)


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

* ``Py_UNICODE`` encoder APIs are pending removal as per :pep:`624`

* 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.
(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.
(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.
(Contributed by Brett Cannon in :issue:`42136`.)

* Undocumented ``sqlite3.OptimizedUnicode`` is scheduled for removal in
Python 3.12.
(Contributed by Erlend E. Aasland in :issue:`42264`.)

* Undocumented ``sqlite3.enable_shared_cache`` is scheduled for removal in
Python 3.12.
(Contributed by Erlend E. Aasland in :issue:`24464`.)

* :meth:`pathlib.Path.link_to` is slated for removal in Python 3.12.
(Contributed by Barney Gale in :issue:`39950`.)

* ``cgi.log()`` is slated for removal in Python 3.12.
(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`.)
Pending Removal in Python 3.12
==============================

* :class:`pkgutil.ImpImporter`
* :class:`pkgutil.ImpLoader`
* :envvar:`PYTHONTHREADDEBUG`
* :func:`importlib.find_loader`
* :func:`importlib.util.module_for_loader`
* :func:`importlib.util.set_loader_wrapper`
* :func:`importlib.util.set_package_wrapper`
* :meth:`importlib.abc.Loader.module_repr`
* :meth:`importlib.abc.Loadermodule_repr`
* :meth:`importlib.abc.MetaPathFinder.find_module`
* :meth:`importlib.abc.MetaPathFinder.find_module`
* :meth:`importlib.abc.PathEntryFinder.find_loader`
* :meth:`importlib.abc.PathEntryFinder.find_module`
* :meth:`importlib.machinery.BuiltinImporter.find_module`
* :meth:`importlib.machinery.BuiltinLoader.module_repr`
* :meth:`importlib.machinery.FileFinder.find_loader`
* :meth:`importlib.machinery.FileFinder.find_module`
* :meth:`importlib.machinery.FrozenImporter.find_module`
* :meth:`importlib.machinery.FrozenLoader.module_repr`
* :meth:`importlib.machinery.PathFinder.find_module`
* :meth:`importlib.machinery.WindowsRegistryFinder.find_module`
* :meth:`pathlib.Path.link_to`
* The entire :ref:`distutils namespace <distutils-deprecated>`
* ``cgi.log()``
* ``sqlite3.OptimizedUnicode``
* ``sqlite3.enable_shared_cache``
Comment thread
ezio-melotti marked this conversation as resolved.
Outdated
* :c:func:`PyUnicode_AS_DATA`
* :c:func:`PyUnicode_AS_UNICODE`
* :c:func:`PyUnicode_AsUnicodeAndSize`
* :c:func:`PyUnicode_AsUnicode`
* :c:func:`PyUnicode_FromUnicode`
* :c:func:`PyUnicode_GET_DATA_SIZE`
* :c:func:`PyUnicode_GET_SIZE`
* :c:func:`PyUnicode_GetSize`
* :c:func:`PyUnicode_IS_COMPACT`
* :c:func:`PyUnicode_IS_READY`
* :c:func:`PyUnicode_READY`
* :c:func:`Py_UNICODE_WSTR_LENGTH`
* :c:func:`_PyUnicode_AsUnicode`
* :c:macro:`PyUnicode_WCHAR_KIND`
* c:type:`PyUnicodeObject`


Removed
Expand Down