PY3: long is no longer a type in Python 3