You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I'm actually not sure if this is pygit2's problem or the problem of the applications using pygit2's API. I have the feeling that lots of other parts of pygit2 will also fail if they are passed paths as bytes-strings. However, if you reach this decision, it should probably be documented clearly.
If the path supplied to
Repository
is abytes
objects as in Python 3, pygit2 crashes. This is inconvenient,as all filesystem utilities will return bytes objectsthey will actually returnstr
s. Theos
libraries will acceptbytes
though.Eg. as used in powerline raises
must be str, not bytes
The text was updated successfully, but these errors were encountered: