-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isinstance(None, numba.types.NoneType)
is False
#3590
Comments
Thanks for raising this. I think this is because Numba's type system mimics that of Python/NumPy but does not inherit from it (kind of indicated by MRO)
Equally Relating this to Another user asked a similar/related question yesterday, an example is also available there #3585 (comment) Hope this helps? |
I don't quite get the analogy between |
Apologies, that's an error, should read something like " |
@david-zwicker you may be interested in the |
Closing this question as it seems to be resolved. Numba now has a discourse forum https://numba.discourse.group/ which is great for questions like this, please do consider posting there in future :) Thanks! |
While playing with
generated_jit
I stumbled upon this unexpected behavior:Clearly, standard python disagrees with this:
Is there a rational for this behavior or is this simply a bug?
The text was updated successfully, but these errors were encountered: