Pending Removal in Python 3.15¶
The bundled copy of
libmpdecimal
.PyImport_ImportModuleNoBlock()
: usePyImport_ImportModule()
instead.PyWeakref_GET_OBJECT()
: usePyWeakref_GetRef()
instead.PyWeakref_GetObject()
: usePyWeakref_GetRef()
instead.Py_UNICODE_WIDE
type: usewchar_t
instead.Py_UNICODE
type: usewchar_t
instead.Python initialization functions:
PySys_ResetWarnOptions()
: clearsys.warnoptions
andwarnings.filters
instead.Py_GetExecPrefix()
: getsys.exec_prefix
instead.Py_GetPath()
: getsys.path
instead.Py_GetPrefix()
: getsys.prefix
instead.Py_GetProgramFullPath()
: getsys.executable
instead.Py_GetProgramName()
: getsys.executable
instead.Py_GetPythonHome()
: getPyConfig.home
or thePYTHONHOME
environment variable instead.