python3: use PyBytes_* instead of PyString_* fncs
python3: use PyLong_* instead of PyInt_* fncs
python3: comment out code using PyFile_Check()
python3: partially apply python3.patch from archlinux

https://aur.archlinux.org/packages/py/python3-pycurl/python3-pycurl.tar.gz