More Python 3 support

Remove use of enum in the calculator to drop minimum required version

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

mercurial