data is a buffer : long* for example while obj_ptr is a PyObject*. It is not the same.
We can move the reinterpret cast of obj_ptr attribute to data here instead of in python_to_pythran