More Python 3 support

(0) -100 -30 -10 -1 +1 tip

mercurial