Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 11dbba7

Browse files
committedMay 4, 2022
gh-92308: Add Pending Removal section to 3.11 What's New
1 parent dfb1b9d commit 11dbba7

File tree

1 file changed

+59
-0
lines changed

1 file changed

+59
-0
lines changed
 

‎Doc/whatsnew/3.11.rst

+59
Original file line numberDiff line numberDiff line change
@@ -1173,6 +1173,65 @@ Deprecated
11731173
(Contributed by Serhiy Storchaka in :gh:`91760`.)
11741174

11751175

1176+
Pending Removal
1177+
===============
1178+
1179+
* ``Py_UNICODE`` encoder APIs are pending removal as per :pep:`624`
1180+
1181+
* The entire :ref:`distutils namespace <distutils-deprecated>` is scheduled for
1182+
removal in Python 3.12.
1183+
1184+
* The various implementations of
1185+
:meth:`importlib.abc.MetaPathFinder.find_module` (
1186+
:meth:`importlib.machinery.BuiltinImporter.find_module`,
1187+
:meth:`importlib.machinery.FrozenImporter.find_module`,
1188+
:meth:`importlib.machinery.WindowsRegistryFinder.find_module`,
1189+
:meth:`importlib.machinery.PathFinder.find_module`,
1190+
:meth:`importlib.abc.MetaPathFinder.find_module` ),
1191+
:meth:`importlib.abc.PathEntryFinder.find_module` (
1192+
:meth:`importlib.machinery.FileFinder.find_module` ), and
1193+
:meth:`importlib.abc.PathEntryFinder.find_loader` (
1194+
:meth:`importlib.machinery.FileFinder.find_loader` )
1195+
are slated for removal in Python 3.12.
1196+
(Contributed by Brett Cannon in :issue:`42135`.)
1197+
1198+
* The deprecations of :mod:`imp`, :func:`importlib.find_loader`,
1199+
:func:`importlib.util.set_package_wrapper`,
1200+
:func:`importlib.util.set_loader_wrapper`,
1201+
:func:`importlib.util.module_for_loader`,
1202+
:class:`pkgutil.ImpImporter`, and
1203+
:class:`pkgutil.ImpLoader` are slated for in Python 3.12.
1204+
(Contributed by Brett Cannon in :issue:`43720`.)
1205+
1206+
* :meth:`importlib.abc.Loadermodule_repr` is scheduled for removal in
1207+
Python 3.12.
1208+
(Contributed by Brett Cannon in :issue:`42137`.)
1209+
1210+
* :meth:`importlib.abc.Loader.module_repr`,
1211+
:meth:`importlib.machinery.FrozenLoader.module_repr`, and
1212+
:meth:`importlib.machinery.BuiltinLoader.module_repr` are
1213+
slated for removal in Python 3.12.
1214+
(Contributed by Brett Cannon in :issue:`42136`.)
1215+
1216+
* Undocumented ``sqlite3.OptimizedUnicode`` is scheduled for removal in
1217+
Python 3.12.
1218+
(Contributed by Erlend E. Aasland in :issue:`42264`.)
1219+
1220+
* Undocumented ``sqlite3.enable_shared_cache`` is scheduled for removal in
1221+
Python 3.12.
1222+
(Contributed by Erlend E. Aasland in :issue:`24464`.)
1223+
1224+
* :meth:`pathlib.Path.link_to` is slated for removal in Python 3.12.
1225+
(Contributed by Barney Gale in :issue:`39950`.)
1226+
1227+
* ``cgi.log()`` is slated for removal in Python 3.12.
1228+
(Contributed by Inada Naoki in :issue:`41139`.)
1229+
1230+
* The threading debug (:envvar:`PYTHONTHREADDEBUG` environment variable) is
1231+
scheduled for removal in Python 3.12.
1232+
(Contributed by Victor Stinner in :issue:`44584`.)
1233+
1234+
11761235
Removed
11771236
=======
11781237

0 commit comments

Comments
 (0)
Please sign in to comment.