1Pending Removal in Python 3.15 2^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 4* The bundled copy of ``libmpdecimal``. 5* The :c:func:`PyImport_ImportModuleNoBlock`: 6 Use :c:func:`PyImport_ImportModule` instead. 7* :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`: 8 Use :c:func:`PyWeakref_GetRef` instead. 9* :c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro: 10 Use :c:type:`wchar_t` instead. 11* Python initialization functions: 12 13 * :c:func:`PySys_ResetWarnOptions`: 14 Clear :data:`sys.warnoptions` and :data:`!warnings.filters` instead. 15 * :c:func:`Py_GetExecPrefix`: 16 Get :data:`sys.base_exec_prefix` and :data:`sys.exec_prefix` instead. 17 * :c:func:`Py_GetPath`: 18 Get :data:`sys.path` instead. 19 * :c:func:`Py_GetPrefix`: 20 Get :data:`sys.base_prefix` and :data:`sys.prefix` instead. 21 * :c:func:`Py_GetProgramFullPath`: 22 Get :data:`sys.executable` instead. 23 * :c:func:`Py_GetProgramName`: 24 Get :data:`sys.executable` instead. 25 * :c:func:`Py_GetPythonHome`: 26 Get :c:member:`PyConfig.home` 27 or the :envvar:`PYTHONHOME` environment variable instead. 28