Python2 and Python3 support (using 2to3)