You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/06/30 20:48:00 UTC
[jira] [Updated] (ARROW-13226) [Python] Add a general purpose
cython trampolining utility
[ https://issues.apache.org/jira/browse/ARROW-13226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated ARROW-13226:
-----------------------------------
Labels: pull-request-available (was: )
> [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
> Priority: Major
> Labels: pull-request-available
> Fix For: 5.0.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)