Skip to content

Commit 565a5a3

Browse files
miss-islingtonErlend Egeberg Aasland
and
Erlend Egeberg Aasland
authored
gh-92308: Add Pending Removal section to 3.11 What's New (GH-92309)
* gh-92308: Add Pending Removal section to 3.11 What's New * Use compact list; drop attributions * Add short text, and also missing PyUnicode_InternImmortal * Fix formatting * markup fix * Update Doc/whatsnew/3.11.rst Co-authored-by: Victor Stinner <vstinner@python.org> * Apply suggestions from code review Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 0924b95) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
1 parent e89c01e commit 565a5a3

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

Doc/whatsnew/3.11.rst

+55
Original file line numberDiff line numberDiff line change
@@ -1217,6 +1217,61 @@ Deprecated
12171217
(Contributed by Alex Waygood in :gh:`92332`.)
12181218

12191219

1220+
Pending Removal in Python 3.12
1221+
==============================
1222+
1223+
The following APIs have been deprecated in earlier Python releases,
1224+
and will be removed in Python 3.12.
1225+
1226+
Python API:
1227+
1228+
* :class:`pkgutil.ImpImporter`
1229+
* :class:`pkgutil.ImpLoader`
1230+
* :envvar:`PYTHONTHREADDEBUG`
1231+
* :func:`importlib.find_loader`
1232+
* :func:`importlib.util.module_for_loader`
1233+
* :func:`importlib.util.set_loader_wrapper`
1234+
* :func:`importlib.util.set_package_wrapper`
1235+
* :meth:`importlib.abc.Loader.module_repr`
1236+
* :meth:`importlib.abc.Loadermodule_repr`
1237+
* :meth:`importlib.abc.MetaPathFinder.find_module`
1238+
* :meth:`importlib.abc.MetaPathFinder.find_module`
1239+
* :meth:`importlib.abc.PathEntryFinder.find_loader`
1240+
* :meth:`importlib.abc.PathEntryFinder.find_module`
1241+
* :meth:`importlib.machinery.BuiltinImporter.find_module`
1242+
* :meth:`importlib.machinery.BuiltinLoader.module_repr`
1243+
* :meth:`importlib.machinery.FileFinder.find_loader`
1244+
* :meth:`importlib.machinery.FileFinder.find_module`
1245+
* :meth:`importlib.machinery.FrozenImporter.find_module`
1246+
* :meth:`importlib.machinery.FrozenLoader.module_repr`
1247+
* :meth:`importlib.machinery.PathFinder.find_module`
1248+
* :meth:`importlib.machinery.WindowsRegistryFinder.find_module`
1249+
* :meth:`pathlib.Path.link_to`
1250+
* The entire :ref:`distutils namespace <distutils-deprecated>`
1251+
* :func:`cgi.log`
1252+
* :func:`sqlite3.OptimizedUnicode`
1253+
* :func:`sqlite3.enable_shared_cache`
1254+
1255+
C API:
1256+
1257+
* :c:func:`PyUnicode_AS_DATA`
1258+
* :c:func:`PyUnicode_AS_UNICODE`
1259+
* :c:func:`PyUnicode_AsUnicodeAndSize`
1260+
* :c:func:`PyUnicode_AsUnicode`
1261+
* :c:func:`PyUnicode_FromUnicode`
1262+
* :c:func:`PyUnicode_GET_DATA_SIZE`
1263+
* :c:func:`PyUnicode_GET_SIZE`
1264+
* :c:func:`PyUnicode_GetSize`
1265+
* :c:func:`PyUnicode_IS_COMPACT`
1266+
* :c:func:`PyUnicode_IS_READY`
1267+
* :c:func:`PyUnicode_READY`
1268+
* :c:func:`Py_UNICODE_WSTR_LENGTH`
1269+
* :c:func:`_PyUnicode_AsUnicode`
1270+
* :c:macro:`PyUnicode_WCHAR_KIND`
1271+
* :c:type:`PyUnicodeObject`
1272+
* :c:func:`PyUnicode_InternImmortal()`
1273+
1274+
12201275
Removed
12211276
=======
12221277

0 commit comments

Comments
 (0)