You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Antoine Pitrou (Jira)" <ji...@apache.org> on 2022/01/02 20:10:00 UTC
[jira] [Commented] (ARROW-15227) [Python] Verify methods in Cython bindings for constness and default values
[ https://issues.apache.org/jira/browse/ARROW-15227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17467695#comment-17467695 ]
Antoine Pitrou commented on ARROW-15227:
----------------------------------------
Basically, Cython is not a C or C++ compiler. It just translates its own language into C/C++ that another tool will compile. So the C/C++ declarations that you give to Cython are just to allow it emit the right C/C++ code, they don't need to match the actual C/C++ APIs exactly (which is actually convenient in cases where the exact declarations cannot be faithfully represented in Cython).
> [Python] Verify methods in Cython bindings for constness and default values
> ---------------------------------------------------------------------------
>
> Key: ARROW-15227
> URL: https://issues.apache.org/jira/browse/ARROW-15227
> Project: Apache Arrow
> Issue Type: Improvement
> Components: Python
> Reporter: Eduardo Ponce
> Priority: Minor
> Labels: good-first-issue
> Fix For: 7.0.0
>
>
> Some methods in Cython bindings do not have the {{const}} attribute as in C++. We need to verify that they match C++ methods in terms of constness and default values.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)