PyObject_CallMethod requires const cast on Python 2.