summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorPablo Galindo <pablogsal@gmail.com>2022-05-08 02:43:47 (GMT)
committerPablo Galindo <pablogsal@gmail.com>2022-05-08 02:43:47 (GMT)
commit75de8e69b4351e1b80c7ce1c20d804b7199dab0b (patch)
treeaae28cc533504e542ee3794b1e24841a17e3f227 /Doc/whatsnew
parente851177536b44ebc616ddbe51aebcd1f30857f34 (diff)
parentbd030b633f98ea5d9f93ef0105a51d2faf67070d (diff)
downloadcpython-75de8e69b4351e1b80c7ce1c20d804b7199dab0b.zip
cpython-75de8e69b4351e1b80c7ce1c20d804b7199dab0b.tar.gz
cpython-75de8e69b4351e1b80c7ce1c20d804b7199dab0b.tar.bz2
Merge remote-tracking branch 'upstream/main'
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.11.rst55
1 files changed, 55 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst
index b9871f7..c4e8e6f 100644
--- a/Doc/whatsnew/3.11.rst
+++ b/Doc/whatsnew/3.11.rst
@@ -1217,6 +1217,61 @@ Deprecated
(Contributed by Alex Waygood in :gh:`92332`.)
+Pending Removal in Python 3.12
+==============================
+
+The following APIs have been deprecated in earlier Python releases,
+and will be removed in Python 3.12.
+
+Python API:
+
+* :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>`
+* :func:`cgi.log`
+* :func:`sqlite3.OptimizedUnicode`
+* :func:`sqlite3.enable_shared_cache`
+
+C API:
+
+* :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`
+* :c:func:`PyUnicode_InternImmortal()`
+
+
Removed
=======