That's not terrible for not-in-a-loop code.  The cython-provided numpy.pxd file has a UFUNC_ERR_IGNORE that makes me think it may be possible to do something similar in cython-space, but so far no helpful documentation on how to make that a reality.