[ 
https://issues.apache.org/jira/browse/ARROW-17253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17573772#comment-17573772
 ] 

Antoine Pitrou commented on ARROW-17253:
----------------------------------------

Thanks for the report. It seems this would crash in debug mode, and sometimes 
produce an incorrect result in release mode.

> [Python] pyarrow.array() crashes the interpreter when given a generator that 
> raises while iterating
> ---------------------------------------------------------------------------------------------------
>
>                 Key: ARROW-17253
>                 URL: https://issues.apache.org/jira/browse/ARROW-17253
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 8.0.0
>            Reporter: Li Jin
>            Assignee: Antoine Pitrou
>            Priority: Major
>
> {code:java}
> pa.array((1 // 0 for x in range(10)), size=10){code}
> This would crash the python interpreter 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to