Skip to content

Scope of the limited API #41

@encukou

Description

@encukou

Victor requested to add the new PyList_Extend and PyList_Clear to limited API: python/cpython#111862

This API can be trivially replaced by PyObject_CallMethod/PyObject_VectorcallMethod -- or in this case, by PyList_SetSlice.

I would prefer to not add API that has such a trivial Python equivalent, unless there's a clear need for it (e.g. for performance) in third-party projects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions