Automigration to python3