Skip to content

Refactor users of Py_ssize_t AC converter that require non-negative values #138399

@wiomoc

Description

@wiomoc

gh-135763 introduced a new parameter in the Py_ssize_t Argument Clinic converter for generation of a value >= 0 validation.

Now existing users of the Py_ssize_t AC converter should be refactored to offload the non-negative check to the generated validator.

CC @picnixz

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions