You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, any exception raised will be ignored and it will print "exception is ignored" to stderr. Then, the user has to manage all those error codes manually (which requires reading Cython source code which may be a bit too much for an average user).
Maybe throw proper Python exceptions instead? That would arguably be a much more Pythonic way of doing that:
Currently, any exception raised will be ignored and it will print "exception is ignored" to stderr. Then, the user has to manage all those error codes manually (which requires reading Cython source code which may be a bit too much for an average user).
Maybe throw proper Python exceptions instead? That would arguably be a much more Pythonic way of doing that:
https://cython.readthedocs.io/en/latest/src/userguide/language_basics.html#error-return-values
So instead of stuff like
you could do just
which would throw an
MKLError('invalid input')
if it fails, so you could catch it later.The text was updated successfully, but these errors were encountered: