@@ -1217,6 +1217,61 @@ Deprecated
1217
1217
(Contributed by Alex Waygood in :gh: `92332 `.)
1218
1218
1219
1219
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
+
1220
1275
Removed
1221
1276
=======
1222
1277
0 commit comments