# Pending Removal in Python 3.15

- The bundled copy of `libmpdecimal`.

- `PyImport_ImportModuleNoBlock()`: use `PyImport_ImportModule()` instead.

- `PyWeakref_GET_OBJECT()`: use `PyWeakref_GetRef()` instead.

- `PyWeakref_GetObject()`: use `PyWeakref_GetRef()` instead.

- `Py_UNICODE_WIDE` type: use `wchar_t` instead.

- `Py_UNICODE` type: use `wchar_t` instead.

- Python initialization functions:

  - `PySys_ResetWarnOptions()`: clear `sys.warnoptions` and `warnings.filters` instead.

  - `Py_GetExecPrefix()`: get `sys.exec_prefix` instead.

  - `Py_GetPath()`: get `sys.path` instead.

  - `Py_GetPrefix()`: get `sys.prefix` instead.

  - `Py_GetProgramFullPath()`: get `sys.executable` instead.

  - `Py_GetProgramName()`: get `sys.executable` instead.

  - `Py_GetPythonHome()`: get `PyConfig.home` or the `PYTHONHOME` environment variable instead.