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/07/01 11:53:00 UTC
[jira] [Resolved] (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 ]
Ben Kietzman resolved ARROW-13226.
----------------------------------
Resolution: Fixed
Issue resolved by pull request 10619
[https://github.com/apache/arrow/pull/10619]
> [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: 0.5h
> 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)