pitrou commented on PR #34993:
URL: https://github.com/apache/arrow/pull/34993#issuecomment-1549805782

   Having `__bool__` return something else than a boolean, or raise an 
exception, is generally rather nasty as it breaks a widespread expectation 
about boolean testing.
   
   Also the boolean value of `None` is well-defined:
   ```pycon
   >>> bool(None)
   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]

Reply via email to