AlenkaF commented on issue #34987: URL: https://github.com/apache/arrow/issues/34987#issuecomment-3607108495
@pitrou what do you think? We have introduced `__bool__` implementation in 21.0.0 which mimics Python behaviour `bool(None) == False`. But this discussion is of a different opinion where for pyarrow Scalar we would want `bool(pa.scalar(None, pa.bool_()))` to raise `ValueError`. If we agree this should be changed we would need to deprecate the current behaviour (after 2 releases 😁) and we might do this together with changing the behaviour of `__eq__`, see https://github.com/apache/arrow/issues/32007. -- 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]
