Commits


Joris Van den Bossche authored and GitHub committed 61b89df503c
GH-34944: [Python] Fix crash when converting non-sequence object with getitem in pa.array() (#34958) ### What changes are included in this PR? Some python objects can pass the `PySequence_Check` without being "proper" sequences with a length, resulting in a subsequent `PySequence_Size` to fail, but we didn't check for python errors there, and so failed to properly raise this as a python exception. * Closes: #34944 Authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com> Signed-off-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>