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
I took a look at this. Both use the equal ufunc. However, x==x goes through array_richcompare() first, and array_richcompare() has extra code that is recovering from the failure.
The end of array_richcompare() (arrayobject.c, line 1433):
if (result == Py_NotImplemented) {
/* Try to handle string comparisons */
...
}
return result;
The text was updated successfully, but these errors were encountered: