[PATCH 1 of 2] encoding: make HFS+ ignore code Python 3 compatible

Gregory Szorc gregory.szorc at gmail.com
Sat Mar 12 11:56:11 EST 2016



> On Mar 12, 2016, at 07:17, Yuya Nishihara <yuya at tcha.org> wrote:
> 
>> On Fri, 11 Mar 2016 22:43:56 -0800, Gregory Szorc wrote:
>> # HG changeset patch
>> # User Gregory Szorc <gregory.szorc at gmail.com>
>> # Date 1457760214 28800
>> #      Fri Mar 11 21:23:34 2016 -0800
>> # Node ID bf54b6d99a73008537efc8867984ab474321a0ee
>> # Parent  70c2f8a982766b512e9d7f41f2d93fdb92f5481f
>> encoding: make HFS+ ignore code Python 3 compatible
>> 
>> unichr() doesn't exist in Python 3. chr() is the equivalent there.
>> Unfortunately, we can't use chr() outright because Python 2 only
>> does accept values larger than 255.
>                     ^^^^^^^^^^^^^^^
>                     smaller than 256 ?
> 
> I'll queue this series if my comment is correct.

Oops. You are correct. My sentence is full of English fail.


More information about the Mercurial-devel mailing list