Become compatible with Python 3
The clock is ticking for support on Python 2.x and since Mercurial 5 [Python 3 support is in beta](https://www.mercurial-scm.org/wiki/Python3).
The clock is ticking for support on Python 2.x and since Mercurial 5 [Python 3 support is in beta](https://www.mercurial-scm.org/wiki/Python3).