You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Ben Kietzman (Jira)" <ji...@apache.org> on 2021/06/30 20:46:00 UTC

[jira] [Created] (ARROW-13226) [Python] Add a general purpose cython trampolining utility

Ben Kietzman created ARROW-13226:
------------------------------------

             Summary: [Python] Add a general purpose cython trampolining utility
                 Key: ARROW-13226
                 URL: https://issues.apache.org/jira/browse/ARROW-13226
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Python
            Reporter: Ben Kietzman
            Assignee: Ben Kietzman
             Fix For: 5.0.0


Currently, invoking python from C++ requires a lot of boilerplate. For example, see any class named {{/\w+Vtable/}} which holds a bundle of function pointers and a single OwnedRef to a python object accessed by those functions. This is unnecessarily baroque for adding simple callbacks and we could instead have a general purpose utility similar to std::bind which can bring a python object into closure.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)