2024-10-15 09:39:15 +02:00
|
|
|
Pending removal in Python 3.15
|
2024-07-29 23:20:40 +02:00
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
* The bundled copy of ``libmpdecimal``.
|
2024-09-23 20:40:20 +02:00
|
|
|
* The :c:func:`PyImport_ImportModuleNoBlock`:
|
|
|
|
Use :c:func:`PyImport_ImportModule` instead.
|
|
|
|
* :c:func:`PyWeakref_GetObject` and :c:func:`PyWeakref_GET_OBJECT`:
|
|
|
|
Use :c:func:`PyWeakref_GetRef` instead.
|
|
|
|
* :c:type:`Py_UNICODE` type and the :c:macro:`!Py_UNICODE_WIDE` macro:
|
|
|
|
Use :c:type:`wchar_t` instead.
|
2024-07-29 23:20:40 +02:00
|
|
|
* Python initialization functions:
|
|
|
|
|
2024-09-23 20:40:20 +02:00
|
|
|
* :c:func:`PySys_ResetWarnOptions`:
|
|
|
|
Clear :data:`sys.warnoptions` and :data:`!warnings.filters` instead.
|
|
|
|
* :c:func:`Py_GetExecPrefix`:
|
2024-10-21 11:35:54 +02:00
|
|
|
Get :data:`sys.base_exec_prefix` and :data:`sys.exec_prefix` instead.
|
2024-09-23 20:40:20 +02:00
|
|
|
* :c:func:`Py_GetPath`:
|
|
|
|
Get :data:`sys.path` instead.
|
|
|
|
* :c:func:`Py_GetPrefix`:
|
2024-10-21 11:35:54 +02:00
|
|
|
Get :data:`sys.base_prefix` and :data:`sys.prefix` instead.
|
2024-09-23 20:40:20 +02:00
|
|
|
* :c:func:`Py_GetProgramFullPath`:
|
|
|
|
Get :data:`sys.executable` instead.
|
|
|
|
* :c:func:`Py_GetProgramName`:
|
|
|
|
Get :data:`sys.executable` instead.
|
|
|
|
* :c:func:`Py_GetPythonHome`:
|
|
|
|
Get :c:member:`PyConfig.home`
|
|
|
|
or the :envvar:`PYTHONHOME` environment variable instead.
|