Python2 and Python3 support (using python-modernize's 2to3)