Works on pypy / Travis doesn't have python 3.1 / Fix sys.maxint (again)