You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Antoine Pitrou (JIRA)" <ji...@apache.org> on 2018/03/06 10:55:00 UTC

[jira] [Created] (ARROW-2270) [Python] ForeignBuffer doesn't tie Python object lifetime to C++ buffer lifetime

Antoine Pitrou created ARROW-2270:
-------------------------------------

             Summary: [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


{{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
(v7.6.3#76005)