Pending Removal in Python 3.15 ¶
-
The bundled copy of
libmpdecimal. -
The
PyImport_ImportModuleNoBlock(): UsePyImport_ImportModule()代替。 -
PyWeakref_GetObject()andPyWeakref_GET_OBJECT(): UsePyWeakref_GetRef()代替。 -
Py_UNICODEtype and thePy_UNICODE_WIDEmacro: Usewchar_t代替。 -
Python initialization functions:
-
PySys_ResetWarnOptions(): Clearsys.warnoptionsandwarnings.filters代替。 -
Py_GetExecPrefix(): Getsys.base_exec_prefixandsys.exec_prefix代替。 -
Py_GetPath(): Getsys.path代替。 -
Py_GetPrefix(): Getsys.base_prefixandsys.prefix代替。 -
Py_GetProgramFullPath(): Getsys.executable代替。 -
Py_GetProgramName(): Getsys.executable代替。 -
Py_GetPythonHome(): GetPyConfig.home或PYTHONHOMEenvironment variable instead.
-