Python3 C-API support
Python2 C-API support (fine-tunning after Python3 changes)