Closed mattip closed 6 months ago
Ahh, thanks, missed that. Then it should be used in the NumPy port here, I will add it to my PR.
Yes, there may be many locations where it should be used. We introduced it after we started migrating NumPy. I personally always added a TODO
and kept the full C API call in a comment and I thought I later fixed all those. Others may not have marked those locations. So, whenever you find one, feel free to migrate and open a PR.
It would be nice to have HPyErr_Format with a signature like
PyErr_Format