##// END OF EJS Templates
py3: convert encoding name and mode to str...
py3: convert encoding name and mode to str Otherwise tolocal() and fromlocal() wouldn't work on Python 3. Still tolocal() can't make a valid localstr object because localstr inherits str, but it can return some object without raising exceptions. Since Py3 bytes() behaves much like bytearray() than str() of Py2, we can't simply do s/str/bytes/g. I have no good idea to handle str/bytes divergence.
Yuya Nishihara -
r30033:02dbfaa6 default
Show More
Name Size Modified Last Commit Author
/ mercurial / default.d
mergetools.rc Loading ...