Le 20/08/2020 à 18:07, Kirill Lykov a écrit : > Hi, > > I'm trying to bind my C++ code working with arrow::Table. > So my C++ function takes an arrow Table and returns another arrow Table. > In short, if I return the same arrow table as I received as input from > python code, it works. > If I try to return my own arrow table constructed inside the c++ code, > arrow::py::wrap_table returns me 0x0.
If it returns `(PyObject*) nullptr`, it should mean a Python exception was raised (as per the usual CPython return convention). You can try inspecting it using e.g. `PyErr_Print()`. Regards Antoine.