jorisvandenbossche commented on PR #39276: URL: https://github.com/apache/arrow/pull/39276#issuecomment-1862343385
The exception is raised from the explicit `equals()` method (and so a user will see this exception when calling that method directly). However, for other language features (such as `==` or `in`), this method is called under the hood in `__eq__` which already catches the error to return NotImplemented instead, which then is translated by Python to `False`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
