Get rid of PyInt in Python 3