Mercurial > hg
comparison tests/test-debugrename.t @ 31453:3b7a6941a6ef
py3: call codecs.escape_encode() directly
string_escape doesn't exist on Python 3, but fortunately the undocumented
codecs.escape_encode() function exists on CPython 2.6, 2.7, 3.5 and PyPy 5.6.
So let's use it for now.
http://stackoverflow.com/a/23151714
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Wed, 15 Mar 2017 23:28:39 +0900 |
parents | 5d9bc49b0b1e |
children | 55c6ebd11cb9 |
comparison
equal
deleted
inserted
replaced
31452:52dabcc49968 | 31453:3b7a6941a6ef |
---|