Pending removal in future versions
The following APIs are deprecated and will be removed, although there is currently no date scheduled for their removal.
Py_TPFLAGS_HAVE_FINALIZE: Unneeded since Python 3.8.PyErr_Fetch: UsePyErr_GetRaisedExceptioninstead.PyErr_NormalizeException: UsePyErr_GetRaisedExceptioninstead.PyErr_Restore: UsePyErr_SetRaisedExceptioninstead.PyOS_AfterFork: UsePyOS_AfterFork_Childinstead.PySlice_GetIndicesEx: UsePySlice_UnpackandPySlice_AdjustIndicesinstead.PyUnicode_READY: Unneeded since Python 3.12!PyErr_Display: UsePyErr_DisplayExceptioninstead.!_PyErr_ChainExceptions: Use!_PyErr_ChainExceptions1instead.!PyBytesObject.ob_shashmember: callPyObject_Hashinstead.- Thread Local Storage (TLS) API:
PyThread_create_key: UsePyThread_tss_allocinstead.PyThread_delete_key: UsePyThread_tss_freeinstead.PyThread_set_key_value: UsePyThread_tss_setinstead.PyThread_get_key_value: UsePyThread_tss_getinstead.PyThread_delete_key_value: UsePyThread_tss_deleteinstead.PyThread_ReInitTLS: Unneeded since Python 3.7.
这篇文档对你有帮助吗?
谢谢你的反馈!