10000 compiler error · Issue #495 · libgit2/pygit2 · GitHub
[go: up one dir, main page]

Skip to content
compiler error #495
@brown

Description

@brown

When I compile src/diff.c I get an error for the following code in Diff_getitem:

if (PyLong_Check(value) < 0)
    return NULL;

Apparently PyLong_Check returns a boolean, which can never be negative,
so the test will never succeed.

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

      0