Mercurial > hg
diff Makefile @ 40154:fe11fc7e541f
py3: encode JSON str to bytes
json.dumps() will emit UTF-8 str on Python 2 and 3. Use sysbytes to
force the .encode('utf-8') on Python 3 and no-op on Python 2.
Differential Revision: https://phab.mercurial-scm.org/D4965
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 11 Oct 2018 21:18:58 +0200 |
parents | 4ca5932065ca |
children | d0a6b2c8f8b6 |