Skip to content

[Python] Add a general purpose cython trampolining utility #28913

@asfimport

Description

@asfimport

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.

Reporter: Ben Kietzman / @bkietz
Assignee: Ben Kietzman / @bkietz

PRs and other links:

Note: This issue was originally created as ARROW-13226. Please see the migration documentation for further details.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions