Python 3: futurize conversion
Remove all redundant python code