Adapt cycplass code to breaking changes in C API
Since Python 3.9a4 , Py_REFCNT and Py_TYPE should no longer be used to assign a value. Instead, Py_SET_REFCNT and Py_SET_TYPE should be used. Since Python 3.10, Py_REFCNT can no longer be used to assign a value at all. See https://bugs.python.org/issue39573
Showing
Please register or sign in to comment