Skip to content

[Python] Array.from_buffers docs should mention safety issues #49717

@pitrou

Description

@pitrou

Describe the enhancement requested

The docstring for Array.from_buffers (and similar methods on subclasses, e.g. StringArray.from_buffers) should explicitly mention that the caller is responsible for passing valid Arrow data (or calling validate on the result), otherwise they could encounter crashes when using the result.

Component(s)

Python

Metadata

Metadata

Assignees

No one assigned

    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