[
https://issues.apache.org/jira/browse/ARROW-2270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17659297#comment-17659297
]
Rok Mihevc commented on ARROW-2270:
-----------------------------------
This issue has been migrated to [issue
#18227|https://github.com/apache/arrow/issues/18227] on GitHub. Please see the
[migration documentation|https://github.com/apache/arrow/issues/14542] for
further details.
> [Python] ForeignBuffer doesn't tie Python object lifetime to C++ buffer
> lifetime
> --------------------------------------------------------------------------------
>
> Key: ARROW-2270
> URL: https://issues.apache.org/jira/browse/ARROW-2270
> Project: Apache Arrow
> Issue Type: Bug
> Components: Python
> Reporter: Antoine Pitrou
> Assignee: Antoine Pitrou
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.9.0
>
>
> {{ForeignBuffer}} keeps the reference to the Python base object in the Python
> wrapper class, not in the C++ buffer instance, meaning if the C++ buffer gets
> passed around but the Python wrapper gets destroyed, the reference to the
> original Python base object will be released.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)