Recombine returns nullptr to the Python layer without calling PyErr_SetString to cause an exception to be set in the Python environment. This causes a hard error in Python.
To fix this, we need to add a call to PyErr_SetString before returning nullptr.
Recombine returns nullptr to the Python layer without calling
PyErr_SetString
to cause an exception to be set in the Python environment. This causes a hard error in Python.To fix this, we need to add a call to
PyErr_SetString
before returning nullptr.