HPyErr_Format missing
mattip opened this issue · 3 comments
mattip commented
It would be nice to have HPyErr_Format with a signature like PyErr_Format
PyErr_Format(PyObject *exception, const char *format, ...);
fangerer commented
mattip commented
Ahh, thanks, missed that. Then it should be used in the NumPy port here, I will add it to my PR.
fangerer commented
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.