Skip to content

Add PyLong_IsPositive/Zero/Negative() functions #126061

@skirpichev

Description

@skirpichev

as alternative API to PyLong_GetSign().

It seems, C-API WG is positive on this, see capi-workgroup/decisions#29. This issue will track implementation.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    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