numpy.i: a SWIG interface file for NumPy — NumPy v2.0 Manual
The resulting wrapper function will return a Python float representation of 0.0 when the vector lengths do not match. Since this is not NULL, the Python interpreter will not know to check for an error.