Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upImprove error message for NumPy alias type used as dtype in ArrayNdCtors #6184
Comments
|
Can I get this? |
|
@abhinavjonnada82 thanks for asking, I think @Luiz6ustav0 has opened a PR for this already in #6243. If you'd like to contribute to Numba there's a |
Reporting a bug
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG).
to write one see http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports).
As per #3993 This
produces:
which provides correct information given what Numba can infer generically, but this is a common issue and so it'd probably be a good idea to provide a specific message.
Here's starter patch to provide a better error message:
with such a patch, this appears: