apache / apache/arrow

[Python] `bool(pa.scalar(False))` evaluates to True

Open
#34,987 18 comments 2 reactions 1 assignee Claimed by @zfoobar View on GitHub
Component: Python Type: bug
Dominant language
C++
Stars
17.1k
Forks
4.3k
Avg merge
3d 18h
Merged PRs (30d)
91

Description

### Describe the bug, including details regarding any error messages, version, and platform.

This can easily cause bugs: `assert pa.scalar(False)` will not raise `AssertionError`!

### Component(s)

Python

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.