do_*_setattro/do_*_getattro need to be declared in the header for python 3
curl*object_methods need to be declared in the header for python 3