I am trying to port the avl module for Python that I found on sourceforge to python3. I managed to get rid of most of the errors, but I did not find clear information on what to do with
Py_LOCAL(PyObject *) avl_tree_getattr(avl_tree_Object * self, char *name) { return Py_FindMethod(avl_tree_methods, (PyObject *) self, name); }
There are several suggestions for mailing lists to just use PyObject_GenericGetAttr instead, but I have to admit that I donβt know the internal elements of python enough to see how I can apply it in this particular case.
Any clues?
source share