Skip to content

Make _PyTuple_FromArraySteal() public: how should it be named? #78

@vstinner

Description

@vstinner

Hi,

I would like to make the _PyTuple_FromArraySteal() function public since it's efficient and useful. Problem: there is a disagreement on how to name this function. In 2023, the Terminology for managing ownership discussion proposed different terms and function names, but no agreement was reached.

The two main competitors are Steal and Move which give the function names PyTuple_FromArraySteal() or PyTuple_MoveFromArray(). Guido and Petr like Steal, I prefer Move. What others think about these terms?

Rust and C++ (std::move) use the term Move.


Vote for Steal term:

Vote for another term such as Move, please comment with your preferred term:

Victor

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions