Implement conversion of Python integer to Int