Skip to content

Repository crashes on bytes paths on Python 3 #588

Closed
@thomwiggers

Description

@thomwiggers

If the path supplied to Repository is a bytes objects as in Python 3, pygit2 crashes. This is inconvenient, as all filesystem utilities will return bytes objects they will actually return strs. The os libraries will accept bytes though.

Eg. as used in powerline raises must be str, not bytes

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