[PATCH 01 of 10] py3: use unicode literals in encoding.py

Jun Wu quark at fb.com
Thu Aug 4 08:59:14 EDT 2016


Excerpts from Yuya Nishihara's message of 2016-08-04 21:42:22 +0900:
> I don't think it's good idea to switch b''/u'' requirement per file.

+1. This may lead us to split code into different files while it's actually
unnecessary.

I'd like a smarter transformer handling cases like os.environ automatically.

If we are going to have switches in file comments, I think it's better to
make it possible at chunk-level instead of just file-level.


More information about the Mercurial-devel mailing list