[PATCH 1 of 2] encoding: make HFS+ ignore code Python 3 compatible
Yuya Nishihara
yuya at tcha.org
Sat Mar 12 10:17:34 EST 2016
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.
More information about the Mercurial-devel
mailing list