You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/08/01 13:55:00 UTC
[jira] [Commented] (ARROW-17253) [Python] pyarrow.array() crashes the interpreter when given a generator that raises while iterating
[ 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)