You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2019/10/16 19:14:00 UTC
[jira] [Commented] (ARROW-6909) [Python] Define PyObjectBuffer with
Py_XDECREF logic in destructor for object array memory
[ https://issues.apache.org/jira/browse/ARROW-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16953118#comment-16953118 ]
Antoine Pitrou commented on ARROW-6909:
---------------------------------------
Note there may be complications with mixed arrays, though I don't think we produce them currently:
{code:python}
In [14]: dt = np.dtype([('a', 'object'), ('b', 'int32')])
In [16]: arr = np.array([(object(), 1), (object(), 2)], dtype=dt)
In [18]: arr.itemsize
Out[18]: 12
{code}
> [Python] Define PyObjectBuffer with Py_XDECREF logic in destructor for object array memory
> ------------------------------------------------------------------------------------------
>
> Key: ARROW-6909
> URL: https://issues.apache.org/jira/browse/ARROW-6909
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Wes McKinney
> Priority: Major
>
> Possible follow up to ARROW-6874
--
This message was sent by Atlassian Jira
(v8.3.4#803005)