You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/02/19 12:34:00 UTC

[jira] [Commented] (ARROW-2171) [Python] OwnedRef is fragile

    [ https://issues.apache.org/jira/browse/ARROW-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369085#comment-16369085 ] 

ASF GitHub Bot commented on ARROW-2171:
---------------------------------------

pitrou opened a new pull request #1626: ARROW-2171: [C++/Python] Make OwnedRef safer
URL: https://github.com/apache/arrow/pull/1626
 
 
   Disable copy constructor and assignment operator.  Define a move constructor for proper ownership transfer.  Also inherit the constructors in OwnedRefNoGIL.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> [Python] OwnedRef is fragile
> ----------------------------
>
>                 Key: ARROW-2171
>                 URL: https://issues.apache.org/jira/browse/ARROW-2171
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: Python
>    Affects Versions: 0.8.0
>            Reporter: Antoine Pitrou
>            Assignee: Antoine Pitrou
>            Priority: Major
>              Labels: pull-request-available
>
> Some uses of OwnedRef can implicitly invoke its (default) copy constructor, which will lead to extraneous decrefs.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)