Fix __getattr__ -> __getattribute__
Style
Remove use of PyObject_GenericGetAttr, which causes incorrect exception
behaviour through Cython
Remove use of PyObject_GenericSetAttr