moved ffi to PythonCAPI trait