Message411998
Changes already done:
* Macros converted to regular functions:
* PyObject_GET_WEAKREFS_LISTPTR(); add internal inline _PyObject_GET_WEAKREFS_LISTPTR()
* PyType_SUPPORTS_WEAKREFS(); add internal inline _PyType_SUPPORTS_WEAKREFS()
* PyObject_CheckBuffer(); no fast internal API
* PyObject_IS_GC(); no fast internal API
* PyDescr_IsData(); no fast internal API
* Always implemented as a function, remove macro optimization in the non-limited API:
* PyIter_Check(); no fast internal API
* PyIndex_Check(); add internal inline _PyIndex_Check()
* PyExceptionClass_Name(); no fast internal API
* Py_TRASHCAN_BEGIN() macro now calls _PyTrash_cond() function: no longer read directly tp_dealloc member
* PyObject_NEW() macro becomes an alias to PyObject_New()
* Remove PyHeapType_GET_MEMBERS() (move it to the internal C API)
PyType_HasFeature() is left unchanged since the change caused performance issue on macOS, whereas Python is not built with LTO. |
|
Date |
User |
Action |
Args |
2022-01-28 14:19:20 | vstinner | set | recipients:
+ vstinner, rhettinger, ronaldoussoren, Michael.Felt, corona10, miss-islington, shihai1991, erlendaasland |
2022-01-28 14:19:20 | vstinner | set | messageid: <1643379560.28.0.902117346463.issue40170@roundup.psfhosted.org> |
2022-01-28 14:19:20 | vstinner | link | issue40170 messages |
2022-01-28 14:19:20 | vstinner | create | |
|