← Back to team overview

dulwich-users team mailing list archive

Re: Python 3 compatibility

 

Hi Lele,

On Thursday 03 December 2015 11:38:36 Lele Gaifax wrote:
> I took the (naive) initial approach of treating all strings as bytes, that I
> guess is the right thing to do with the blobs of content, but possibly
> wrong when dealing with pathnames.

> I know that the topic has been already faced on this ML: since it has been
> over a year ago, I would like to recollect the consensum on how this should
> proceed. In particular, I need to better understand how pathnames should be
> handled.

The discussion section of the git-show manpage has some wisdom on this topic 
which might help you:

"Note that Git at the core level treats path names simply as sequences of non-
NUL bytes, there are no path name encoding conversions"

Cheers,
Bruce
-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

Attachment: signature.asc
Description: This is a digitally signed message part.


References